4 #ifndef CVMFS_CATALOG_VIRTUAL_H_
5 #define CVMFS_CATALOG_VIRTUAL_H_
15 class WritableCatalogManager;
18 class DownloadManager;
35 static bool ParseActions(
const std::string &action_desc,
int *actions);
53 if (this->
name < other.
name) {
return true; }
54 else if (this->
name > other.
name) {
return false; }
81 #endif // CVMFS_CATALOG_VIRTUAL_H_
VirtualCatalog(manifest::Manifest *m, download::DownloadManager *d, catalog::WritableCatalogManager *c, SyncParameters *p)
catalog::WritableCatalogManager * catalog_mgr_
const manifest::Manifest * manifest() const
void InsertSnapshot(TagId tag)
bool operator<(const TagId &other) const
void CreateSnapshotDirectory()
static bool ParseActions(const std::string &action_desc, int *actions)
TagId(const std::string &n, const shash::Any &h)
void RemoveSnapshot(TagId tag)
void CreateNestedCatalogMarker()
void GetSortedTagsFromCatalog(std::vector< TagId > *tags)
static const char * kSnapshotDirectory
static const int kActionRemove
static const int kActionNone
void CreateBaseDirectory()
void RemoveRecursively(const std::string &directory)
void GetSortedTagsFromHistory(std::vector< TagId > *tags)
void Generate(int actions)
bool operator==(const TagId &other) const
static const char * kVirtualPath
static const int kActionGenerateSnapshots
swissknife::Assistant assistant_