C# Класс FubarDev.FtpServer.FileSystem.FileSystemExtensions

Extensions for the file system stuff
Показать файл Открыть проект

Открытые методы

Метод Описание
IsChildOfOrSameAs ( [ pathToTestAsChild, [ pathToTestAsParent, [ fileSystem ) : bool

Is the pathToTestAsChild a child or the same path as pathToTestAsParent?

Приватные методы

Метод Описание
Clone ( [ path ) : Stack
CombinePath ( [ path ) : string
CombinePath ( [ path, [ parts ) : string
GetDirectoryAsync ( [ fileSystem, [ currentPath, [ path, CancellationToken cancellationToken ) : Task
GetDirectoryAsync ( [ fileSystem, [ currentPath, [ pathElements, CancellationToken cancellationToken ) : Task
GetFullPath ( [ path ) : string
GetFullPath ( [ path, [ fileName ) : string
GetParentPath ( [ path ) : string
GetPathElements ( [ path ) : IReadOnlyList
SearchDirectoryAsync ( [ fileSystem, [ currentPath, [ path, CancellationToken cancellationToken ) : Task>
SearchDirectoryAsync ( [ fileSystem, [ currentPath, [ pathElements, CancellationToken cancellationToken ) : Task>
SearchEntryAsync ( [ fileSystem, [ currentPath, [ path, CancellationToken cancellationToken ) : Task>
SearchEntryAsync ( this fileSystem, [ currentPath, [ pathElements, CancellationToken cancellationToken ) : Task>
SearchFileAsync ( [ fileSystem, [ currentPath, [ path, CancellationToken cancellationToken ) : Task>
SearchFileAsync ( this fileSystem, [ currentPath, [ pathElements, CancellationToken cancellationToken ) : Task>
SplitPath ( [ path ) : IReadOnlyList
ToDisplayString ( [ path ) : string

Описание методов

IsChildOfOrSameAs() публичный статический Метод

Is the pathToTestAsChild a child or the same path as pathToTestAsParent?
public static IsChildOfOrSameAs ( [ pathToTestAsChild, [ pathToTestAsParent, [ fileSystem ) : bool
pathToTestAsChild [ The path to test as child
pathToTestAsParent [ The path to test as parent
fileSystem [ The file system to use to compare the file names
Результат bool