| 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 { return "Internal helper"; } |
| 18 |
|
✗ |
virtual std::string GetDescription() const { |
| 19 |
|
✗ |
return "Internal helper. Will be removed. Don't use."; |
| 20 |
|
|
} |
| 21 |
|
✗ |
virtual std::string GetUsage() const { return "<path>"; } |
| 22 |
|
✗ |
virtual unsigned GetMinPlainArgs() const { return 1; } |
| 23 |
|
✗ |
virtual ParameterList GetParams() const { return ParameterList(); } |
| 24 |
|
✗ |
virtual bool IsHidden() const { return true; } |
| 25 |
|
|
|
| 26 |
|
|
virtual int Main(const Options &options); |
| 27 |
|
|
}; |
| 28 |
|
|
|
| 29 |
|
|
} // namespace publish |
| 30 |
|
|
|
| 31 |
|
|
#endif // CVMFS_PUBLISH_CMD_LSOF_H_ |
| 32 |
|
|
|