libfs

Crates.iolibfs
lib.rslibfs
version0.8.0
sourcesrc
created_at2023-12-06 05:14:56.748335
updated_at2024-10-28 02:39:40.222506
description`libfs` is a library of file and filesystem operations that is supplementary to `std::fs`
homepagehttps://github.com/tarka/xcp/libfs
repositoryhttps://github.com/tarka/xcp/libfs
max_upload_size
id1059705
size47,248
Steve Smith (tarka)

documentation

README

libfs: Advanced file and fs operations

libfs is a library of file and filesystem operations that is supplementary to std::fs. Current features:

  • High and mid-level functions for creating and copying sparse files.
  • Copying will use Linux copy_file_range where possible, with fall-back to userspace.
  • Scanning and merging extent information on filesystems that support it.
  • File permission copying, including xattrs.

Some of the features are Linux specific, but most have fall-back alternative implementations for other Unix-like OSs. Further support is todo.

libfs is part of the xcp project.

Crates.io doc.rs Github Actions CircleCI

Commit count: 713

cargo fmt