| FileSystemRepositoryHelper Class |
Namespace: CMS.ContinuousIntegration
public class FileSystemRepositoryHelper : AbstractHelper<FileSystemRepositoryHelper>
The FileSystemRepositoryHelper type exposes the following members.
| Name | Description | |
|---|---|---|
| FileSystemRepositoryHelper |
| Name | Description | |
|---|---|---|
| HASH_DELIMITER |
Delimiter between name and hash.
| |
| SHORTENED_FILENAME_PART_DELIMITER |
Delimiter between parts of shortened file name.
|
| Name | Description | |
|---|---|---|
| DeleteDirectory |
Deletes a directory specified by directoryPath.
| |
| DeleteDirectoryInternal |
Deletes a directory specified by directoryPath. If the delete method
throws an IOException with HResult 0x80070091 (ERROR_DIR_NOT_EMPTY), it is ignored.
| |
| DeleteRepositoryDirectoryIfEmpty |
Deletes repository directory identified by relativeDirectoryPath. Does nothing when directory is not empty
or relative path is null or empty string (to prevent unintended deletion of repository root).
| |
| DeleteRepositoryDirectoryIfEmptyInternal |
Deletes repository directory identified by relativeDirectoryPath. Does nothing when directory is not empty
or relative path is null or empty string (to prevent unintended deletion of repository root).
| |
| GetFileSystemName(String, Int32, Int32) |
Gets file system safe representation of name. The resulting name does not exceed maxNameLength characters in length.
maxNameLength must accommodate hashLength and delimiting character.
| |
| GetFileSystemName(String, String, Int32, Int32) |
Gets file system safe representation of name. The resulting name does not exceed maxNameLength characters in length.
maxNameLength must accommodate hashLength and delimiting character.
| |
| GetFileSystemNameInternal |
Gets file system safe representation of name. The resulting name does not exceed maxNameLength characters in length.
maxNameLength must accommodate hashLength and delimiting character.
| |
| IsRepositoryInitialized |
Checks whether repository is initialized, by testing the presence of the configuration file.
| |
| IsRepositoryInitializedInternal |
Checks whether repository is initialized, by testing the presence of the configuration file.
| |
| SetAsDefaultHelper |
Sets this object as the default helper
(Inherited from AbstractHelperHelperType.) |