|
Joutsen v0.5.0+12-g5dd5f7e
|
An interface representing a path leading to elements of a filesystem. More...
Public Member Functions | |
| void | Create () |
| Creates the entire path by creating all the folders belonging to it. More... | |
| FilesystemPath | Extend (string additionalPath) |
| Extends the current path by an additional folder, file or path represented by a string. More... | |
| FilesystemPath | Extend (FilesystemPath additionalPath) |
| Extends the current path by an additional path. More... | |
| File | GetAsFile () |
| Fetches the file located at this path. More... | |
| Folder | GetAsFolder () |
| Fetches the folder located at this path. More... | |
Properties | |
| bool | Exists [get] |
| Checks if the path exists on the filesystem. More... | |
| bool | IsFolder [get] |
| Checks if the path leads to a folder in the filesystem. More... | |
| bool | IsFile [get] |
| Checks if the path leads to a file in the filesystem. More... | |
| FilesystemPath | Root [get] |
| Returns the root of the path. More... | |
| FilesystemPath | ParentPath [get] |
| Returns the path representing the parent of the current path. More... | |
| string | AbsolutePath [get] |
| Fetches the absolute path represented by this path. More... | |
| string[] | Components [get] |
| Returns the components (the folders that make up this path) of the path as a list. More... | |
An interface representing a path leading to elements of a filesystem.
| void Joutsen.IO.FilesystemPath.Create | ( | ) |
Creates the entire path by creating all the folders belonging to it.
Implemented in Joutsen.IO.LocalFilesystemPath.
| FilesystemPath Joutsen.IO.FilesystemPath.Extend | ( | FilesystemPath | additionalPath | ) |
Extends the current path by an additional path.
| additionalPath | the path to add |
| FilesystemPath Joutsen.IO.FilesystemPath.Extend | ( | string | additionalPath | ) |
Extends the current path by an additional folder, file or path represented by a string.
| additionalPath | the path to add |
Implemented in Joutsen.IO.LocalFilesystemPath.
| File Joutsen.IO.FilesystemPath.GetAsFile | ( | ) |
Fetches the file located at this path.
Implemented in Joutsen.IO.LocalFilesystemPath.
| Folder Joutsen.IO.FilesystemPath.GetAsFolder | ( | ) |
Fetches the folder located at this path.
Implemented in Joutsen.IO.LocalFilesystemPath.
|
get |
Fetches the absolute path represented by this path.
Implemented in Joutsen.IO.LocalFilesystemPath.
|
get |
Returns the components (the folders that make up this path) of the path as a list.
Implemented in Joutsen.IO.LocalFilesystemPath.
|
get |
Checks if the path exists on the filesystem.
Implemented in Joutsen.IO.LocalFilesystemPath.
|
get |
Checks if the path leads to a file in the filesystem.
Implemented in Joutsen.IO.LocalFilesystemPath.
|
get |
Checks if the path leads to a folder in the filesystem.
Implemented in Joutsen.IO.LocalFilesystemPath.
|
get |
Returns the path representing the parent of the current path.
Implemented in Joutsen.IO.LocalFilesystemPath.
|
get |
Returns the root of the path.
Implemented in Joutsen.IO.LocalFilesystemPath.