Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

reflink::reflink_or_copy instead of std::fs::copy #32

Merged
merged 1 commit into from
Aug 20, 2024

Conversation

dr-m
Copy link
Contributor

@dr-m dr-m commented Jul 27, 2024

Many modern file systems allow COPY to be implemented in a way that avoids duplication, similar to a hard link but allowing the contents of the files to diverge as a result of a later write.

Examples include XFS, ZFS, btrfs, bcachefs, Microsoft ReFS, Apple APFS.

Cargo.toml Outdated Show resolved Hide resolved
Many modern file systems allow COPY to be implemented in a way
that avoids duplication, similar to a hard link but allowing the
contents of the files to diverge as a result of a later write.
@messense messense merged commit b010148 into messense:main Aug 20, 2024
6 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants