libfs

Crates.iolibfs
lib.rslibfs
version0.7.2
sourcesrc
created_at2023-12-06 05:14:56.748335
updated_at2024-06-22 03:40:04.273448
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
size46,897
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: 697

cargo fmt