pmt: CLeanup unnecessary function: real-link-path

- real-link-path function is removed.
 - Added --real-link-path flag to real-path function for as real-link-path.
This commit is contained in:
2025-08-15 11:52:03 +03:00
parent c3acd4b370
commit 1bc3b5ccef
6 changed files with 14 additions and 89 deletions

View File

@@ -117,20 +117,7 @@ public:
class realPathFunction final : public FunctionBase {
private:
std::vector<std::string> partitions;
public:
CLI::App *cmd = nullptr;
bool init(CLI::App &_app) override;
bool run() override;
[[nodiscard]] bool isUsed() const override;
[[nodiscard]] const char *name() const override;
};
class realLinkPathFunction final : public FunctionBase {
private:
std::vector<std::string> partitions;
bool realLinkPath = false;
public:
CLI::App *cmd = nullptr;