Built-In
Contains extension methods for working with directories.
General
|
Directory |
Gets a directory path from string. |
Clean
|
CleanDirectories |
Cleans the directories matching the specified pattern. Cleaning the directory will remove all its content but not the directory itself. |
|
CleanDirectories |
Cleans the directories matching the specified pattern. Cleaning the directory will remove all its content but not the directory itself. |
|
CleanDirectories |
Cleans the directories matching the specified pattern. Cleaning the directory will remove all its content but not the directory itself. |
|
CleanDirectories |
Cleans the directories matching the specified pattern. Cleaning the directory will remove all its content but not the directory itself. |
|
CleanDirectories |
Cleans the specified directories. Cleaning a directory will remove all its content but not the directory itself. |
|
CleanDirectories |
Cleans the specified directories. Cleaning a directory will remove all its content but not the directory itself. |
|
CleanDirectories |
Cleans the specified directories. Cleaning a directory will remove all its content but not the directory itself. |
|
CleanDirectories |
Cleans the specified directories. Cleaning a directory will remove all its content but not the directory itself. |
|
CleanDirectory |
Cleans the specified directory. |
|
CleanDirectory |
Cleans the specified directory. |
|
CleanDirectory |
Cleans the specified directory. |
|
CleanDirectory |
Cleans the specified directory. |
Copy
|
CopyDirectory |
Copies the contents of a directory, including subdirectories to the specified location. |
Create
|
CreateDirectory |
Creates the specified directory. |
Delete
|
DeleteDirectories |
Deletes the specified directories. |
|
DeleteDirectories |
Deletes the specified directories. |
|
DeleteDirectory |
Deletes the specified directory. |
DoesNotExist
|
Ensure |
Deletes the specified directory if it exists. |
|
Ensure |
Deletes the specified directory if it exists. |
|
Ensure |
Deletes the specified directory and its contents if it exists. |
Exists
|
DirectoryExists |
Determines whether the given path refers to an existing directory. |
|
Ensure |
Creates the specified directory if it does not exist. |
List
|
GetSubDirectories |
Gets a list of all the directories inside a directory. |
Move
|
MoveDirectory |
Moves an existing directory to a new location, providing the option to specify a new directory name. |
Path
|
Expand |
Expands all environment variables in the provided DirectoryPath.
|
|
MakeAbsolute |
Makes the path absolute (if relative) using the current working directory. |
|
MakeRelative |
Makes the directory path relative (if absolute) to a specified root directory. If no root directory is defined the current working directory is used as default root. |
|
MakeRelative |
Makes the file path relative (if absolute) to a specified root directory. If no root directory is defined the current working directory is used as default root. |
