FileSystemRepositoryHelperDeleteRepositoryDirectoryIfEmpty Method |
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).
Namespace: CMS.ContinuousIntegrationAssembly: CMS.ContinuousIntegration (in CMS.ContinuousIntegration.dll) Version: 12.0.0
Syntax public static void DeleteRepositoryDirectoryIfEmpty(
string relativeDirectoryPath,
string repositoryRootPath
)
Parameters
- relativeDirectoryPath
- Type: SystemString
Path within repository identifying the directory to be deleted. - repositoryRootPath
- Type: SystemString
Root path of the repository.
Exceptions See Also