CernVM-FS  2.9.0
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
swissknife_gc.h
Go to the documentation of this file.
1 
5 #ifndef CVMFS_SWISSKNIFE_GC_H_
6 #define CVMFS_SWISSKNIFE_GC_H_
7 
8 #include <string>
9 
10 #include "catalog_traversal.h"
11 #include "swissknife.h"
12 
13 namespace swissknife {
14 
15 class CommandGc : public Command {
16  public:
17  ~CommandGc() { }
18  virtual std::string GetName() const { return "gc"; }
19  virtual std::string GetDescription() const {
20  return "Garbage Collect a CernVM-FS repository.";
21  }
22  virtual ParameterList GetParams() const;
23  int Main(const ArgumentList &args);
24 };
25 
26 } // namespace swissknife
27 
28 #endif // CVMFS_SWISSKNIFE_GC_H_
std::vector< Parameter > ParameterList
Definition: swissknife.h:71
virtual ParameterList GetParams() const
int Main(const ArgumentList &args)
virtual std::string GetName() const
Definition: swissknife_gc.h:18
virtual std::string GetDescription() const
Definition: swissknife_gc.h:19
std::map< char, SharedPtr< std::string > > ArgumentList
Definition: swissknife.h:72