Skip to main content

Module sync

Module sync 

Source
Expand description

Shared copy/sync engine – recursive directory copy, delta sync, stdin pipe. Shared copy/sync engine used by both fxcp CLI and foxingd sync command.

Provides recursive directory copy with auto-adaptive strategy selection (reflink -> copy_file_range -> sendfile -> io_uring), stdin pipe mode with compression auto-detection, delta copy via BLAKE3 Merkle trees, and foxingd-compatible signature generation.

Structs§

FxcpCli
FxcpSnapCli
Snapshot management subcommands (MARS versioning)
ProgressTracker
Progress tracking for live reporting during copy operations.
SyncOptions
Options for a sync/copy operation (replaces CLI flags).
SyncStats
Copy statistics returned from sync operations.

Enums§

SnapCommand

Functions§

cli_main
Parse CLI args and run – used when foxingd is called as fxcp via symlink.
preserve_metadata
print_summary
Print a human-readable summary of sync results.
run
Run a sync operation with the given options.
store_foxing_signatures
Store foxingd-compatible sync signatures on the destination file.