Click or drag to resize
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.ContinuousIntegration
Assembly: CMS.ContinuousIntegration (in CMS.ContinuousIntegration.dll) Version: 12.0.0
Syntax
C#
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
ExceptionCondition
ArgumentNullExceptionThrown when repositoryRootPath is null.
See Also