5 #ifndef CVMFS_SERVER_TOOL_IMPL_H_
6 #define CVMFS_SERVER_TOOL_IMPL_H_
10 template <
class ObjectFetcherT>
12 const std::string &repo_name,
17 object_fetcher->FetchReflog(reflog_hash, &reflog);
27 "reflog for '%s' not found but reflog checksum is present "
28 "(either in the manifest key 'Y' or in the reflog.chksum file); "
29 "run `cvmfs_server check -r` to fix.",
35 "data corruption in .cvmfsreflog for %s, run "
36 "`cvmfs_server check -r` to fix",
42 "failed loading reflog (%d - %s)", f,
Code2Ascii(f));
50 #endif // CVMFS_SERVER_TOOL_IMPL_H_
const char * Code2Ascii(const ObjectFetcherFailures::Failures error)
std::string database_file() const
assert((mem||(size==0))&&"Out Of Memory")
manifest::Reflog * reflog
CVMFS_EXPORT void LogCvmfs(const LogSource source, const int mask, const char *format,...)