C# Class withSIX.Core.Extensions.PathExtensions

Exibir arquivo Open project: SIXNetworks/withSIX.Desktop

Public Methods

Method Description
CleanPath ( this path ) : string
CygwinPath ( this arg ) : string
EscapePath ( this arg ) : string
FilterDotted ( this infos ) : IEnumerable
FilterDotted ( this infos ) : IEnumerable
FilterDottedDirectories ( this di ) : IEnumerable
FilterDottedFiles ( this di ) : IEnumerable
GetNearestExisting ( this path ) : IAbsoluteDirectoryPath
GetRoot ( this dir ) : IAbsoluteDirectoryPath
GetRoot ( this path ) : IRelativeDirectoryPath
MatchesSub ( this path, string name ) : bool
MingwPath ( this arg ) : string
PosixSlash ( this arg ) : string
RecurseFilterDottedDirectories ( this di ) : IEnumerable
SubStartsWith ( this path, string name ) : bool
ToAbsoluteDirectoryPathNullSafe ( this path ) : IAbsoluteDirectoryPath
ToAbsoluteFilePathNullSafe ( this path ) : IAbsoluteFilePath

Private Methods

Method Description
StartsWithDot ( FileSystemInfo x ) : bool

Method Details

CleanPath() public static method

public static CleanPath ( this path ) : string
path this
return string

CygwinPath() public static method

public static CygwinPath ( this arg ) : string
arg this
return string

EscapePath() public static method

public static EscapePath ( this arg ) : string
arg this
return string

FilterDotted() public static method

public static FilterDotted ( this infos ) : IEnumerable
infos this
return IEnumerable

FilterDotted() public static method

public static FilterDotted ( this infos ) : IEnumerable
infos this
return IEnumerable

FilterDottedDirectories() public static method

public static FilterDottedDirectories ( this di ) : IEnumerable
di this
return IEnumerable

FilterDottedFiles() public static method

public static FilterDottedFiles ( this di ) : IEnumerable
di this
return IEnumerable

GetNearestExisting() public static method

public static GetNearestExisting ( this path ) : IAbsoluteDirectoryPath
path this
return IAbsoluteDirectoryPath

GetRoot() public static method

public static GetRoot ( this dir ) : IAbsoluteDirectoryPath
dir this
return IAbsoluteDirectoryPath

GetRoot() public static method

public static GetRoot ( this path ) : IRelativeDirectoryPath
path this
return IRelativeDirectoryPath

MatchesSub() public static method

public static MatchesSub ( this path, string name ) : bool
path this
name string
return bool

MingwPath() public static method

public static MingwPath ( this arg ) : string
arg this
return string

PosixSlash() public static method

public static PosixSlash ( this arg ) : string
arg this
return string

RecurseFilterDottedDirectories() public static method

public static RecurseFilterDottedDirectories ( this di ) : IEnumerable
di this
return IEnumerable

SubStartsWith() public static method

public static SubStartsWith ( this path, string name ) : bool
path this
name string
return bool

ToAbsoluteDirectoryPathNullSafe() public static method

public static ToAbsoluteDirectoryPathNullSafe ( this path ) : IAbsoluteDirectoryPath
path this
return IAbsoluteDirectoryPath

ToAbsoluteFilePathNullSafe() public static method

public static ToAbsoluteFilePathNullSafe ( this path ) : IAbsoluteFilePath
path this
return IAbsoluteFilePath