11 #ifndef CVMFS_CATALOG_MGR_RO_H_
12 #define CVMFS_CATALOG_MGR_RO_H_
19 class DownloadManager;
36 const std::string &stratum0,
40 const bool manage_catalog_files =
false)
66 return (relative_path ==
"") ?
"" :
"/" + relative_path;
79 #endif // CVMFS_CATALOG_MGR_RO_H_
const bool manage_catalog_files_
const manifest::Manifest * manifest() const
void set_base_hash(const shash::Any &hash)
download::DownloadManager * download_manager_
virtual LoadReturn LoadCatalogByHash(CatalogContext *ctlg_context)
virtual Catalog * CreateCatalog(const PathString &mountpoint, const shash::Any &catalog_hash, Catalog *parent_catalog)
SimpleCatalogManager(const shash::Any &base_hash, const std::string &stratum0, const std::string &dir_temp, download::DownloadManager *download_manager, perf::Statistics *statistics, const bool manage_catalog_files=false)
const std::string & dir_temp() const
Statistics statistics() const
std::string MakeRelativePath(const std::string &relative_path) const
virtual LoadReturn GetNewRootCatalogContext(CatalogContext *result)
const shash::Any & base_hash() const