5 #include "cvmfs_config.h"
27 std::string *catalog_path,
32 const string url = stratum0_ +
"/data/" + effective_hash.
MakePath();
43 &effective_hash, &filesink);
48 unlink(catalog_path->c_str());
49 PANIC(
kLogStderr,
"failed to load %s from Stratum 0 (%d - %s)", url.c_str(),
53 *catalog_hash = effective_hash;
62 Catalog *new_catalog =
new Catalog(mountpoint, catalog_hash, parent_catalog);
63 if (manage_catalog_files_) {
FILE * CreateTempFile(const std::string &path_prefix, const int mode, const char *open_flags, std::string *final_path)
assert((mem||(size==0))&&"Out Of Memory")
const char * Code2Ascii(const Failures error)
const char kSuffixCatalog
void TakeDatabaseFileOwnership()
std::string MakePath() const