FileSystemRepositoryHelperDeleteRepositoryDirectoryIfEmptyInternal 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: 13.0.131
Syntax protected virtual void DeleteRepositoryDirectoryIfEmptyInternal(
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 Exception | Condition |
---|
ArgumentNullException | Thrown when repositoryRootPath is null. |
See Also