cvmfs/catalog_mgr_rw.cc
bool WritableCatalogManager::IsTransitionPoint(const string &mountpoint) {
  const string path = MakeRelativePath(mountpoint);

  SyncLock();
  WritableCatalog *catalog;
  DirectoryEntry entry;
  if (!FindCatalog(path, &catalog, &entry)) {
    LogCvmfs(kLogCatalog, kLogStderr,
             "catalog for directory '%s' cannot be found", path.c_str());
    assert(false);
  }
  const bool result = entry.IsNestedCatalogRoot();
  SyncUnlock();
  return result;
}
/**
 * Checks if a nested catalog starts at this path.  The path must be valid.
 */
Checks if a nested catalog starts at this path.  The path must be valid.
Checks if a nested catalog starts at this path . The path must be valid .
bool WritableCatalogManager::IsTransitionPoint(const string &mountpoint) {
  const string path = MakeRelativePath(mountpoint);
  SyncLock();
  WritableCatalog *catalog;
  DirectoryEntry entry;
  if (!FindCatalog(path, &catalog, &entry)) {
    LogCvmfs(kLogCatalog, kLogStderr,
             "catalog for directory '%s' cannot be found", path.c_str());
    assert(false);
  }
  const bool result = entry.IsNestedCatalogRoot();
  SyncUnlock();
  return result;
}
bool WritableCatalogManager :: IsTransitionPoint ( const string & mountpoint ) { const string path = MakeRelativePath ( mountpoint ) ; SyncLock ( ) ; WritableCatalog * catalog ; DirectoryEntry entry ; if ( ! FindCatalog ( path , & catalog , & entry ) ) { LogCvmfs ( kLogCatalog , kLogStderr , " " , path . c_str ( ) ) ; assert ( false ) ; } const bool result = entry . IsNestedCatalogRoot ( ) ; SyncUnlock ( ) ; return result ; }
Checks if a nested catalog starts at this path.
Checks if a nested catalog starts at this path .