Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up

Extended utilities for working with files and filesystems in Rust

License

NotificationsYou must be signed in to change notification settings

danburkert/fs2-rs

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

47 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Extended utilities for working with files and filesystems in Rust.fs2requires Rust stable 1.8 or greater.

Build StatusWindows Build statusDocumentationCrate

Features

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

Platforms

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

Benchmarks

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).

License

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

Stars

Watchers

Forks

Packages

No packages published

Languages


[8]ページ先頭

©2009-2025 Movatter.jp