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)
51 std::string *catalog_path,
68 return (relative_path ==
"") ?
"" :
"/" + relative_path;
81 #endif // CVMFS_CATALOG_MGR_RO_H_
const bool manage_catalog_files_
const manifest::Manifest * manifest() const
void set_base_hash(const shash::Any &hash)
virtual LoadError LoadCatalog(const PathString &mountpoint, const shash::Any &hash, std::string *catalog_path, shash::Any *catalog_hash)
download::DownloadManager * download_manager_
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
const shash::Any & base_hash() const