Click or drag to resize
FileSystemRepositoryHelper Methods

The FileSystemRepositoryHelper type exposes the following members.

Methods
  NameDescription
Public methodStatic memberDeleteDirectory
Deletes a directory specified by directoryPath.
Protected methodDeleteDirectoryInternal
Deletes a directory specified by directoryPath. If the delete method throws an IOException with HResult 0x80070091 (ERROR_DIR_NOT_EMPTY), it is ignored.
Public methodStatic memberDeleteRepositoryDirectoryIfEmpty
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).
Protected methodDeleteRepositoryDirectoryIfEmptyInternal
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).
Public methodStatic memberGetFileSystemName(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.
Public methodStatic memberCode exampleGetFileSystemName(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.
Protected methodCode exampleGetFileSystemNameInternal
Gets file system safe representation of name. The resulting name does not exceed maxNameLength characters in length. maxNameLength must accommodate hashLength and delimiting character.
Public methodStatic memberIsRepositoryInitialized
Checks whether repository is initialized, by testing the presence of the configuration file.
Protected methodIsRepositoryInitializedInternal
Checks whether repository is initialized, by testing the presence of the configuration file.
Public methodSetAsDefaultHelper
Sets this object as the default helper
(Inherited from AbstractHelperHelperType.)
Top
See Also