diff options
| author | Stefan Boberg <[email protected]> | 2026-04-23 18:16:57 +0200 |
|---|---|---|
| committer | Stefan Boberg <[email protected]> | 2026-04-23 18:16:57 +0200 |
| commit | 0232b991cd7d8e3a2114ea30e4591dd3e7b65c36 (patch) | |
| tree | 94730e7594fd09ae1fa820391ce311f6daf13905 /src/zen/cmds/copy_cmd.h | |
| parent | Fix forward declaration order for s_GotSigWinch and SigWinchHandler (diff) | |
| parent | trace: declare Region event name fields as AnsiString (#1012) (diff) | |
| download | archived-zen-sb/zen-help.tar.xz archived-zen-sb/zen-help.zip | |
Merge branch 'main' into sb/zen-helpsb/zen-help
- Combine HelpCommand (this branch) with HistoryCommand (main) in zen CLI dispatcher
- Keep filter-aware TuiPickOne rewrite; adopt main's ASCII arrow glyphs in doc comment
Diffstat (limited to 'src/zen/cmds/copy_cmd.h')
| -rw-r--r-- | src/zen/cmds/copy_cmd.h | 32 |
1 files changed, 0 insertions, 32 deletions
diff --git a/src/zen/cmds/copy_cmd.h b/src/zen/cmds/copy_cmd.h deleted file mode 100644 index 757a8e691..000000000 --- a/src/zen/cmds/copy_cmd.h +++ /dev/null @@ -1,32 +0,0 @@ -// Copyright Epic Games, Inc. All Rights Reserved. - -#pragma once - -#include "../zen.h" - -namespace zen { - -/** Copy files, possibly using block cloning - */ -class CopyCommand : public ZenCmdBase -{ -public: - static constexpr char Name[] = "copy"; - static constexpr char Description[] = "Copy file(s)"; - - CopyCommand(); - ~CopyCommand(); - - virtual cxxopts::Options& Options() override { return m_Options; } - virtual void Run(const ZenCliOptions& GlobalOptions, int argc, char** argv) override; - virtual ZenCmdCategory& CommandCategory() const override { return g_UtilitiesCategory; } - -private: - cxxopts::Options m_Options{Name, Description}; - std::filesystem::path m_CopySource; - std::filesystem::path m_CopyTarget; - bool m_NoClone = false; - bool m_MustClone = false; -}; - -} // namespace zen |