10 references to PathInternal
System.Formats.Tar (10)
System\Formats\Tar\TarEntry.cs (2)
524
Debug.Assert(
PathInternal
.EndsInDirectorySeparator(destinationDirectoryFullPath), "caller must ensure the path ends with a separator.");
528
return fullPath.StartsWith(destinationDirectoryFullPath,
PathInternal
.StringComparison) ? fullPath : null;
System\Formats\Tar\TarFile.cs (4)
317
destinationDirectoryName =
PathInternal
.EnsureTrailingSeparator(destinationDirectoryName);
385
destinationDirectoryName =
PathInternal
.EnsureTrailingSeparator(destinationDirectoryName);
434
destinationDirectoryName =
PathInternal
.EnsureTrailingSeparator(destinationDirectoryName);
503
destinationDirectoryName =
PathInternal
.EnsureTrailingSeparator(destinationDirectoryName);
System\Formats\Tar\TarHeader.Write.cs (3)
411
int lastIdx = pathNameBytes.LastIndexOfAny(
PathInternal
.Utf8DirectorySeparators);
430
lastIdx = prefix.LastIndexOfAny(
PathInternal
.Utf8DirectorySeparators);
442
Debug.Assert(prefix.Length != 1 || !
PathInternal
.Utf8DirectorySeparators.Contains(prefix[0]));
System\Formats\Tar\TarHelpers.cs (1)
418
return childFullPath.StartsWith(parentFullPath,
PathInternal
.StringComparison);