#filesystem #testing #mock #fake

filesystem

Real, fake, and mock implementations of file system operations

8 releases

Uses old Rust 2015

0.4.4 Feb 17, 2019
0.4.3 Jan 4, 2019
0.4.2 Feb 7, 2018
0.4.1 Oct 2, 2017
0.1.0 Jul 28, 2017

#268 in Filesystem

Download history 678/week @ 2022-06-11 514/week @ 2022-06-18 662/week @ 2022-06-25 535/week @ 2022-07-02 658/week @ 2022-07-09 838/week @ 2022-07-16 730/week @ 2022-07-23 637/week @ 2022-07-30 582/week @ 2022-08-06 610/week @ 2022-08-13 645/week @ 2022-08-20 1517/week @ 2022-08-27 8062/week @ 2022-09-03 10732/week @ 2022-09-10 10386/week @ 2022-09-17 6875/week @ 2022-09-24

37,113 downloads per month
Used in 2 crates

MIT license

46KB
1K SLoC

filesystem-rs

Real, fake, and mock implementations of file system operations.

Build Status Docs Crates.io

Documentation

filesystem-rs provides real, fake, and mock implementations of file system-related functionality. It abstracts away details of certain common but complex operations (e.g., setting permissions) and makes it easier to test any file system-related logic without having to wait for slow I/O operations or coerce the file system into particular states.

Dependencies

~120KB