DirectoryHelper Class |
Namespace: CMS.IO
public class DirectoryHelper : AbstractHelper<DirectoryHelper>
The DirectoryHelper type exposes the following members.
Name | Description | |
---|---|---|
DirectoryHelper |
Name | Description | |
---|---|---|
AllowCheckIOPermissions |
Allow checking IO permissions?
| |
IsWebRootWritable |
Returns whether web root is writable.
|
Name | Description | |
---|---|---|
CheckPermissions(String) |
Check permissions (checks read and write permissions).
| |
CheckPermissions(CheckPermissionsSettings) |
Check write permissions.
| |
CheckPermissions(String, Boolean, Boolean, Boolean, Boolean) |
Check write permissions.
| |
CheckPermissionsInternal(CheckPermissionsSettings) |
Check write permissions.
| |
CheckPermissionsInternal(String, Boolean, Boolean, Boolean, Boolean) |
Check write permissions.
| |
CombinePath |
Combines parts of one path together, handles slashes. Path ends without DirectorySeparatorChar.
| |
CombinePathInternal |
Combines parts of one path together, handles back slashes.
| |
CopyDirectory |
Copies specified directory including its subdirectories and all underlying files.
| |
CopyDirectoryInternal |
Copies specified directory including its subdirectories and all underlying files.
| |
CopyFile |
Copies the file.
| |
CopyFileInternal |
Copies the file.
| |
CreateDirectory |
Creates directory. It works also in a shared hosting environment.
| |
CreateDirectoryInternal |
Creates directory. It works also in a shared hosting environment.
| |
DeleteDirectory(String) |
Deletes the directory. It works also in a shared hosting environment.
| |
DeleteDirectory(String, Boolean) |
Deletes the directory. It works also in a shared hosting environment.
| |
DeleteDirectoryInternal(String) |
Deletes the directory. It works also in a shared hosting environment.
| |
DeleteDirectoryInternal(String, Boolean) |
Deletes the directory. It works also in a shared hosting environment.
| |
DeleteDirectoryStructure |
Deletes the directory structure. It works also in a shared hosting environment.
| |
DeleteDirectoryStructureInternal |
Deletes the directory structure. It works also in a shared hosting environment.
| |
EnsureDiskPath |
Checks if all folders of the given path exist and if not, it creates them.
| |
EnsureDiskPathInternal |
Checks if all folders of the given path exist and if not, it creates them.
| |
EnsurePathSlash |
This method ensures that path will end with one DirectorySeparatorChar.
| |
EnsurePathSlashInternal |
This method ensures that path will end with one DirectorySeparatorChar.
| |
MoveDirectory |
Moves specified directory to new path.
| |
MoveDirectoryInternal |
Moves specified directory to new path.
| |
SetAsDefaultHelper |
Sets this object as the default helper
(Inherited from AbstractHelperHelperType.) |