CernVM-FS  2.12.0
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
swissknife_reflog.h
Go to the documentation of this file.
1 
5 #ifndef CVMFS_SWISSKNIFE_REFLOG_H_
6 #define CVMFS_SWISSKNIFE_REFLOG_H_
7 
8 #include "swissknife.h"
9 
10 #include <string>
11 
12 namespace manifest {
13 class Reflog;
14 class Manifest;
15 }
16 
17 namespace swissknife {
18 
20  public:
21  virtual std::string GetName() const { return "reconstruct_reflog"; }
22  virtual std::string GetDescription() const {
23  return "Bootstraps a Reference Log from Catalog and History chains. This "
24  "is used for both legacy repository migration and repairs.";
25  }
26  virtual ParameterList GetParams() const;
27  int Main(const ArgumentList &args);
28 
29  protected:
32 };
33 
34 }; // namespace swissknife
35 
36 #endif // CVMFS_SWISSKNIFE_REFLOG_H_
const manifest::Manifest * manifest() const
Definition: repository.h:125
std::vector< Parameter > ParameterList
Definition: swissknife.h:71
int Main(const ArgumentList &args)
virtual std::string GetName() const
virtual ParameterList GetParams() const
virtual std::string GetDescription() const
std::map< char, SharedPtr< std::string > > ArgumentList
Definition: swissknife.h:72
void AddStaticManifestObjects(manifest::Reflog *reflog, manifest::Manifest *manifest) const