Skip to content

EntropyEngine::Core::IO::CopyOptions

Options controlling file copy behavior. More…

#include <IFileSystemBackend.h>

Name
booluseReflink
std::function< bool(size_t copied, size_t total)>progressCallback
boolpreserveAttributes
booloverwriteExisting
struct EntropyEngine::Core::IO::CopyOptions;

Options controlling file copy behavior.

Parameters:

  • overwriteExisting Replace destination if it exists
  • preserveAttributes Preserve timestamps/permissions where supported
  • useReflink Use copy-on-write cloning if available
  • progressCallback Optional progress callback; return false to cancel
bool useReflink = true;
std::function< bool(size_t copied, size_t total)> progressCallback;
bool preserveAttributes = true;
bool overwriteExisting = false;

Updated on 2026-01-26 at 17:14:35 -0500