Crates.io | copy_on_write |
lib.rs | copy_on_write |
version | 0.1.3 |
source | src |
created_at | 2023-11-01 15:14:24.849157 |
updated_at | 2023-12-13 11:00:32.35384 |
description | Copy-On-Write Rust implementation. |
homepage | |
repository | |
max_upload_size | |
id | 1021178 |
size | 54,295 |
OS | File System | Status |
---|---|---|
Linux | btrfs | |
Linux | xfs | |
Windows | ReFS | |
MacOS | APFS |
Note: Linux and Windows tests run in Google Cloud VMs to ensure the correct file system is used. MacOS tests run only GitHub Actions.
This project is an implementation of Copy-On-Write (CoW) or reflinks in Rust. It provides file copy functionalities that are optimized for different file systems and operating systems.
reflink-copy
crate for CoW support.Here's a simple demo showing how to use this library.
use copy_on_write::reflink_file_sync;
reflink_file_sync(src, dst);