|
| static AbsolutePath | AsPath (this string input) |
| | A more comfortable way to make a string into an absolute path.
|
| |
| static ? AbsolutePath | TryAsPath (this string? input) |
| | A safer version of AsPath, use it when input may not be a valid absolute path.
|
| |
| static ? AbsolutePath | TryAsRelativePath (this string? input, AbsolutePath? root=null) |
| | A safer version of AsPath, use it when input may not be a valid string. Input can be a relative folder to root
|
| |
| static void | Delete (this AbsolutePath path) |
| | Shorthand for deleting both file or folder, we don't care.
|
| |
| static ? FileSystemInfo | AsInfo (this AbsolutePath path) |
| | Shorthand for getting a FileSystemInfo both of a file or folder, we don't care.
|
| |
| static ? FileSystemInfo | AsLinkInfo (this AbsolutePath link) |
| | If the given path happens to be a symlink then return its info, return null otherwise.
|
| |
| static FileSystemInfo | LinksFile (this AbsolutePath link, AbsolutePath real) |
| | Create a new symlink at this location referring to another file.
|
| |
| static FileSystemInfo | LinkedByFile (this AbsolutePath real, AbsolutePath link) |
| | Create a new symlink referring to this file at given location.
|
| |
| static FileSystemInfo | LinksDirectory (this AbsolutePath link, AbsolutePath real) |
| | Create a new symlink at this location referring to another folder.
|
| |
| static FileSystemInfo | LinkedByDirectory (this AbsolutePath real, AbsolutePath link) |
| | Create a new symlink referring to this folder at given location.
|
| |
| static FileSystemInfo | Links (this AbsolutePath link, AbsolutePath real) |
| | Create a new symlink at this location referring to given item.
|
| |
| static FileSystemInfo | LinkedBy (this AbsolutePath real, AbsolutePath link) |
| | Create a new symlink referring to this item at given location.
|
| |
| static Attempt | LinkedByOrCopyTo (this AbsolutePath real, AbsolutePath link, ExistsPolicy policy=ExistsPolicy.Fail) |
| | Create a new symlink referring to this item at given location, or if that fails for any reason attempt to copy this item to given location.
|
| |
|
static IEnumerable< AbsolutePath > | SubTree (this AbsolutePath origin, Func< AbsolutePath, bool >? filter=null) |
| |
| static AbsolutePath | GetRoot (this AbsolutePath path) |
| | Get the root of input AbsolutePath. On Windows this may be getting the "drive-letter" of input path.
|
| |
| static bool | LookAroundFor (Func< string, bool > predicate, out AbsolutePath? result, Func< AbsolutePath, bool >? directoryFilter=null, AbsolutePath? rootDirectory=null) |
| |
| static ? AbsolutePath | GetVersionSubfolder (this AbsolutePath root, string version) |
| |
Definition at line 16 of file PathExtensions.cs.