5 #ifndef CVMFS_MANIFEST_H_
6 #define CVMFS_MANIFEST_H_
30 explicit Breadcrumb(
const std::string &from_string);
32 bool Export(
const std::string &fqrn,
33 const std::string &directory,
const int mode)
const;
52 static Manifest *
LoadMem(
const unsigned char *buffer,
const unsigned length);
57 const uint64_t catalog_size,
86 bool Export(
const std::string &path)
const;
89 const std::string &directory);
153 static Manifest *
Load(
const std::map<char, std::string> &content);
187 #endif // CVMFS_MANIFEST_H_
void set_repository_name(const std::string &repository_name)
shash::Any micro_catalog_hash_
const manifest::Manifest * manifest() const
bool Export(const std::string &path) const
static Manifest * LoadMem(const unsigned char *buffer, const unsigned length)
void set_catalog_hash(const shash::Any &catalog_hash)
std::string MakeAlternativePath() const
Manifest(const shash::Any &catalog_hash, const uint64_t catalog_size, const std::string &root_path)
void set_certificate(const shash::Any &certificate)
bool garbage_collectable_
static const uint64_t kInvalidRevision
void set_meta_info(const shash::Any &meta_info)
std::string ExportString() const
void set_revision(const uint64_t revision)
std::string MakeCertificatePath() const
bool has_alt_catalog_path() const
uint64_t catalog_size() const
uint64_t revision() const
bool ExportBreadcrumb(const std::string &directory, const int mode) const
uint64_t publish_timestamp() const
std::string repository_name() const
void set_publish_timestamp(const uint32_t publish_timestamp)
shash::Any certificate() const
shash::Any catalog_hash() const
bool garbage_collectable() const
bool has_alt_catalog_path_
bool Export(const std::string &fqrn, const std::string &directory, const int mode) const
std::string repository_name_
void set_history(const shash::Any &history_db)
void set_garbage_collectability(const bool garbage_collectable)
void set_ttl(const uint32_t ttl)
shash::Algorithms GetHashAlgorithm() const
std::string ToString() const
shash::Any history() const
void set_catalog_size(const uint64_t catalog_size)
shash::Md5 root_path() const
std::string MakeCatalogPath() const
Manifest(const shash::Any &catalog_hash, const uint64_t catalog_size, const shash::Md5 &root_path, const uint32_t ttl, const uint64_t revision, const shash::Any µ_catalog_hash, const std::string &repository_name, const shash::Any certificate, const shash::Any history, const uint64_t publish_timestamp, const bool garbage_collectable, const bool has_alt_catalog_path, const shash::Any &meta_info, const shash::Any &reflog_hash)
static Breadcrumb ReadBreadcrumb(const std::string &repo_name, const std::string &directory)
void set_has_alt_catalog_path(const bool &has_alt_path)
shash::Any reflog_hash() const
std::string MakePath() const
uint64_t publish_timestamp_
void set_reflog_hash(const shash::Any &checksum)
static Manifest * LoadFile(const std::string &path)
Breadcrumb(const shash::Any &h, uint64_t t, uint64_t r)
static Manifest * Load(const std::map< char, std::string > &content)
shash::Any meta_info() const
void set_root_path(const std::string &root_path)