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(String, Boolean, Boolean, Boolean, Boolean) |
Check write permissions.
| |
CheckPermissionsInternal |
Check write permissions.
| |
CombinePath |
Combines parts of one path together, handles back slashes. Path ends without backslash.
| |
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.
| |
EnsurePathBackSlash |
This method ensures that path will end with one backslash.
| |
EnsurePathBackSlashInternal |
This method ensures that path will end with one backslash.
| |
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.) |