Registry / utility / reflink-copy

reflink-copy

JSON →
library0.1.29rscratesunverified

Copy-on-write mechanism on supported file systems.

# Cargo.toml [dependencies] reflink-copy = "0.1.29"
INSTALL
IMPORT
SIG · REFLINK-COPY
R
reflink-copy
utilityrustv0.1.29
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

reflink
use reflink_copy::reflink;

Creates a copy-on-write reflink of a file.

use reflink_copy::reflink; fn main() -> std::io::Result<()> { reflink("source.txt", "dest.txt")?; println!("Reflink copy done"); Ok(()) }
Debug
Known issues
gotchaRequires filesystem support for reflink (e.g., Btrfs, XFS, APFS).
fix
Check filesystem compatibility before using; fallback to regular copy if unsupported.
affects: *
Upgrade
Version history
0.1.29latest on crates.io
Audit
Dependencies

No dependency data recorded yet.

Agent activity
4 hits · last 30 days
node
4
Resources
reflink-copy — cargo add reflink-copy · libregistry