5 #ifndef CVMFS_RECEIVER_CATALOG_MERGE_TOOL_H_
6 #define CVMFS_RECEIVER_CATALOG_MERGE_TOOL_H_
17 class WritableCatalogManager;
21 class DownloadManager;
34 template<
typename RwCatalogMgr,
typename RoCatalogMgr>
38 RwCatalogMgr *output_catalog_mgr,
40 const std::string &temp_dir_prefix,
55 const std::string &repo_path,
const PathString &lease_path,
56 const std::string &temp_dir_prefix,
74 const std::string &temp_dir_prefix,
78 const std::string &cache_dir)
79 :
CatalogDiffTool<RoCatalogMgr>(repo_path, old_root_hash, new_root_hash,
80 temp_dir_prefix, download_manager,
94 bool Run(
const Params ¶ms, std::string *new_manifest_path,
95 shash::Any *new_manifest_hash, uint64_t *final_rev);
138 #endif // CVMFS_RECEIVER_CATALOG_MERGE_TOOL_H_
const manifest::Manifest * manifest() const