8 references to CharUtils
Microsoft.Build.Tasks.Git (8)
GitDataReader\GitReferenceResolver.cs (4)
133var separator = line.IndexOfAny(CharUtils.WhitespaceSeparators); 145var nextSeparator = line.IndexOfAny(CharUtils.WhitespaceSeparators, separator + 1); 377return File.ReadAllText(path).TrimEnd(CharUtils.AsciiWhitespace); 389=> reference.Length == _objectNameFormat.HashSize * 2 && reference.All(CharUtils.IsHexadecimalDigit);
GitDataReader\GitRefTableReader.Primitives.cs (2)
107builder.Append(CharUtils.ToHexDigit((byte)(b >> 4))); 108builder.Append(CharUtils.ToHexDigit((byte)(b & 0xf)));
GitDataReader\GitRepository.cs (2)
444var link = content[GitDirPrefix.Length..].TrimEnd(CharUtils.AsciiWhitespace); 472commonDirectory = Path.Combine(directory, File.ReadAllText(commonLinkPath).TrimEnd(CharUtils.AsciiWhitespace));