Line |
Branch |
Exec |
Source |
1 |
|
|
/** |
2 |
|
|
* This file is part of the CernVM File System. |
3 |
|
|
*/ |
4 |
|
|
|
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_ |
29 |
|
|
|