Method | Description | |
---|---|---|
EnsureTrailingSlash ( this path ) : string | ||
ExistsOnPath ( string fileName ) : bool | ||
GetAllFiles ( this basedir ) : IEnumerable |
Recursively enumerate sub-directories and gets all files for the given basedir
|
|
GetFullPath ( string fileName ) : string | ||
HasReadPermissions ( this path ) : bool | ||
HasWritePermission ( this path ) : bool | ||
MakeRelativePath ( this path, string basePath ) : string | ||
PathEquals ( this path, string otherPath ) : bool | ||
TrimTrailingSlash ( this path ) : string |
Method | Description | |
---|---|---|
GetTrailingSlashTrimmedPathLength ( string path ) : int |
public static EnsureTrailingSlash ( this path ) : string | ||
path | this | |
return | string |
public static ExistsOnPath ( string fileName ) : bool | ||
fileName | string | |
return | bool |
public static GetAllFiles ( this basedir ) : IEnumerable |
||
basedir | this | |
return | IEnumerable |
public static GetFullPath ( string fileName ) : string | ||
fileName | string | |
return | string |
public static HasReadPermissions ( this path ) : bool | ||
path | this | |
return | bool |
public static HasWritePermission ( this path ) : bool | ||
path | this | |
return | bool |
public static MakeRelativePath ( this path, string basePath ) : string | ||
path | this | |
basePath | string | |
return | string |
public static PathEquals ( this path, string otherPath ) : bool | ||
path | this | |
otherPath | string | |
return | bool |
public static TrimTrailingSlash ( this path ) : string | ||
path | this | |
return | string |