2 references to EndsInDirectorySeparator
System.Formats.Tar (2)
src\runtime\src\libraries\Common\src\System\IO\PathInternal.cs (1)
216EndsInDirectorySeparator(path) && !IsRoot(path.AsSpan()) ?
System\Formats\Tar\TarEntry.cs (1)
524Debug.Assert(PathInternal.EndsInDirectorySeparator(destinationDirectoryFullPath), "caller must ensure the path ends with a separator.");