Line |
Branch |
Exec |
Source |
1 |
|
|
/** |
2 |
|
|
* This file is part of the CernVM File System. |
3 |
|
|
*/ |
4 |
|
|
|
5 |
|
|
#ifndef CVMFS_PUBLISH_CMD_LSOF_H_ |
6 |
|
|
#define CVMFS_PUBLISH_CMD_LSOF_H_ |
7 |
|
|
|
8 |
|
|
#include <string> |
9 |
|
|
|
10 |
|
|
#include "publish/command.h" |
11 |
|
|
|
12 |
|
|
namespace publish { |
13 |
|
|
|
14 |
|
|
class CmdLsof : public Command { |
15 |
|
|
public: |
16 |
|
✗ |
virtual std::string GetName() const { return "lsof"; } |
17 |
|
✗ |
virtual std::string GetBrief() const { |
18 |
|
✗ |
return "Internal helper"; |
19 |
|
|
} |
20 |
|
✗ |
virtual std::string GetDescription() const { |
21 |
|
✗ |
return "Internal helper. Will be removed. Don't use."; |
22 |
|
|
} |
23 |
|
✗ |
virtual std::string GetUsage() const { return "<path>"; } |
24 |
|
✗ |
virtual unsigned GetMinPlainArgs() const { return 1; } |
25 |
|
✗ |
virtual ParameterList GetParams() const { return ParameterList(); } |
26 |
|
✗ |
virtual bool IsHidden() const { return true; } |
27 |
|
|
|
28 |
|
|
virtual int Main(const Options &options); |
29 |
|
|
}; |
30 |
|
|
|
31 |
|
|
} // namespace publish |
32 |
|
|
|
33 |
|
|
#endif // CVMFS_PUBLISH_CMD_LSOF_H_ |
34 |
|
|
|