fs3

Crates.iofs3
lib.rsfs3
version0.5.0
sourcesrc
created_at2020-03-27 15:25:13.8927
updated_at2020-03-31 20:04:36.098922
descriptionCross-platform file locks and file duplication.
homepagehttps://github.com/oxidecomputer/fs3-rs
repositoryhttps://github.com/oxidecomputer/fs3-rs
max_upload_size
id223536
size51,535
Patrick Mooney (pfmooney)

documentation

https://docs.rs/fs3

README

fs3

Extended utilities for working with files and filesystems in Rust. fs3 is a fork of fs2.

Documentation Crate

Features

  • file descriptor duplication.
  • file locks.
  • file (pre)allocation.
  • file allocation information.
  • filesystem space usage information.

Platforms

fs3 should work on any platform supported by libc.

Benchmarks

Simple benchmarks are provided for the methods provided. Many of these benchmarks use files in a temporary directory. On many modern Linux distros the default temporary directory, /tmp, is mounted on a tempfs filesystem, which will have different performance characteristics than a disk-backed filesystem. The temporary directory is configurable at runtime through the environment (see env::temp_dir).

License

fs3 is primarily distributed under the terms of both the MIT license and the Apache License (Version 2.0).

See LICENSE-APACHE, LICENSE-MIT for details.

Copyright (c) 2015 Dan Burkert.

Copyright 2020 Oxide Computer Company

Commit count: 64

cargo fmt