Crate ctb_io_csc

Crate ctb_io_csc 

Source
Expand description

Checksummed Copy (csc): Attempts to provide high-integrity, crash-safe, verified, resumable file tree copying. Not yet ready for production use. Has some caveats around its use - see docs/csc-safety.md. In particular, other applications modifying the source or target directory trees can completely mess it up.

Modulesยง

archive
Archive packaging, inspection, and manipulation module.
args
Command-line argument definitions for the csc command.
cli
Top-level CLI entry point and orchestration for csc.
copy_engine
Core file copying engine with sparse support, atomic temp writes, and strict verification.
diff_engine
Filesystem diffing engine comparing two filesystem trees or files using the exact same strictness and metadata verification rules as csc copy.
index_engine
Resumable filesystem indexer and compiler to Turso SQLite databases.
index_meta
Metadata and encryption key management for password-protected Turso indexes using companion *.cscidxmeta files.
journal
Transactional, crash-safe state journaling and manifest recording.
move_engine
Move engine providing atomic zero-copy rename on the same filesystem and verified checksummed copy fallback across filesystem boundaries.
path_resolution
Rsync-compatible path and trailing-slash resolution.
search_engine
Fast indexed search engine querying .cscindex.sqlite Turso databases.
verifier
Manifest verification engine auditing filesystem directory trees against manifests recorded by csc. Reports content changes, missing items, untracked files, and metadata differences.