TheSven73 / file-objects-rs

Real and fake implementations of file system operations
MIT License
2 stars 1 forks source link

file-objects-rs

Real and fake implementations of Rust std::fs::File objects.

Build Status

file-objects-rs provides real and fake 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.

file-objects-rs is a fork of Isobel Redelmeier's excellent filesystem-rs crate. Its custom API has been replaced by objects closely mirroring Rust's std::fs::File objects.