GitUtils Class
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
public static class GitUtils
type GitUtils = class
Public Class GitUtils
- Inheritance
-
GitUtils
Fields
| SafeUnicodeLENoBOM |
Gets a UnicodeEncoding (without BOM) that throws when decoding invalid byte sequences or encoding unsupported char sequences (Unicode can't encode strings w/ invalid surrogate pair sequences). Use this instead of Unicode, which uses a fallback character instead of throwing, which leads to silent corruption. |
Methods
| AppendBytesToStringBuilder(StringBuilder, ArraySegment<Byte>) |
Append |
| AppendUrl(String, String) | |
| ByteArraysAreEqual(Byte[], Byte[], Int32) | |
| CalculateSecurable(Guid, Guid, String) | |
| CalculateSecurable(String, Guid, String) | |
| CompareByteArrays(Byte[], Int32, Byte[], Int32, Int32) | |
| GetFriendlyBranchName(String) | |
| GetPermissionFlags(String[]) | |
| ObjectIdFromUTF8Bytes(Byte[], Int32) | |
| StringFromByteArray(Byte[]) |
Convert the byte array to a lower case hex string. |
| TryGetByteArrayFromString(String, Int32, Byte[]) | |