diff options
| author | Dan Engelbrecht <[email protected]> | 2025-01-22 15:26:55 +0100 |
|---|---|---|
| committer | GitHub Enterprise <[email protected]> | 2025-01-22 15:26:55 +0100 |
| commit | b6bac83e8456905c37c8abb4f57fd45d61c37c72 (patch) | |
| tree | a2683960f99e60ac440d4a31c3dfc3e107a21f39 /src/zen/cmds/copy_cmd.cpp | |
| parent | jupiter code cleanup (#276) (diff) | |
| download | archived-zen-b6bac83e8456905c37c8abb4f57fd45d61c37c72.tar.xz archived-zen-b6bac83e8456905c37c8abb4f57fd45d61c37c72.zip | |
Add multithreading directory scanning in core/filesystem (#277)
add DirectoryContent::IncludeFileSizes
add DirectoryContent::IncludeAttributes
add multithreaded GetDirectoryContent
use multithreaded GetDirectoryContent in workspace folder scanning
Diffstat (limited to 'src/zen/cmds/copy_cmd.cpp')
| -rw-r--r-- | src/zen/cmds/copy_cmd.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/zen/cmds/copy_cmd.cpp b/src/zen/cmds/copy_cmd.cpp index f39bfa71c..d42d3c107 100644 --- a/src/zen/cmds/copy_cmd.cpp +++ b/src/zen/cmds/copy_cmd.cpp @@ -120,7 +120,7 @@ CopyCommand::Run(const ZenCliOptions& GlobalOptions, int argc, char** argv) { } - virtual void VisitFile(const std::filesystem::path& Parent, const path_view& File, uint64_t FileSize) override + virtual void VisitFile(const std::filesystem::path& Parent, const path_view& File, uint64_t FileSize, uint32_t) override { ZEN_UNUSED(FileSize); std::error_code Ec; @@ -157,7 +157,7 @@ CopyCommand::Run(const ZenCliOptions& GlobalOptions, int argc, char** argv) } } - virtual bool VisitDirectory(const std::filesystem::path&, const path_view&) override { return true; } + virtual bool VisitDirectory(const std::filesystem::path&, const path_view&, uint32_t) override { return true; } std::filesystem::path BasePath; std::filesystem::path TargetPath; |