- Notifications
You must be signed in to change notification settings - Fork54
Extended utilities for working with files and filesystems in Rust
License
danburkert/fs2-rs
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
Extended utilities for working with files and filesystems in Rust.fs2
requires Rust stable 1.8 or greater.
- file descriptor duplication.
- file locks.
- file (pre)allocation.
- file allocation information.
- filesystem space usage information.
fs2
should work on any platform supported bylibc
.
fs2
is continuously tested on:
x86_64-unknown-linux-gnu
(Linux)i686-unknown-linux-gnu
x86_64-apple-darwin
(OSX)i686-apple-darwin
x86_64-pc-windows-msvc
(Windows)i686-pc-windows-msvc
x86_64-pc-windows-gnu
i686-pc-windows-gnu
Simple benchmarks are provided for the methods provided. Many of thesebenchmarks use files in a temporary directory. On many modern Linux distros thedefault temporary directory,/tmp
, is mounted on a tempfs filesystem, whichwill have different performance characteristics than a disk-backed filesystem.The temporary directory is configurable at runtime through the environment (seeenv::temp_dir
).
fs2
is primarily distributed under the terms of both the MIT license and theApache License (Version 2.0).
SeeLICENSE-APACHE,LICENSE-MIT for details.
Copyright (c) 2015 Dan Burkert.
About
Extended utilities for working with files and filesystems in Rust
Resources
License
Uh oh!
There was an error while loading.Please reload this page.