cvmfs/sync_mediator.cc
void SyncMediator::RemoveDirectory(const SyncItem &entry) {
  const std::string directory_path = entry.GetRelativePath();

  if (catalog_manager_->IsTransitionPoint(directory_path)) {
    RemoveNestedCatalog(entry);
  }

  PrintChangesetNotice(kRemove, entry.GetUnionPath());
  if (!params_->dry_run) {
    catalog_manager_->RemoveDirectory(directory_path);
  }
}
/**
 * this method deletes a single directory entry! Make sure to empty it
 * before you call this method or simply use
 * SyncMediator::RemoveDirectoryRecursively instead.
 */
this method deletes a single directory entry. Make sure to empty it
before you call this method or simply use
SyncMediator::RemoveDirectoryRecursively instead.
this method deletes a single directory entry . Make sure to empty it before you call this method or simply use SyncMediator :: RemoveDirectoryRecursively instead .
void SyncMediator::RemoveDirectory(const SyncItem &entry) {
  const std::string directory_path = entry.GetRelativePath();
  if (catalog_manager_->IsTransitionPoint(directory_path)) {
    RemoveNestedCatalog(entry);
  }
  PrintChangesetNotice(kRemove, entry.GetUnionPath());
  if (!params_->dry_run) {
    catalog_manager_->RemoveDirectory(directory_path);
  }
}
void SyncMediator :: RemoveDirectory ( const SyncItem & entry ) { const std :: string directory_path = entry . GetRelativePath ( ) ; if ( catalog_manager_ -> IsTransitionPoint ( directory_path ) ) { RemoveNestedCatalog ( entry ) ; } PrintChangesetNotice ( kRemove , entry . GetUnionPath ( ) ) ; if ( ! params_ -> dry_run ) { catalog_manager_ -> RemoveDirectory ( directory_path ) ; } }
this method deletes a single directory entry!
this method deletes a single directory entry!