https://github.com/twmb/rsfs
RuSt FileSystem
https://github.com/twmb/rsfs
Last synced: about 1 year ago
JSON representation
RuSt FileSystem
- Host: GitHub
- URL: https://github.com/twmb/rsfs
- Owner: twmb
- License: mit
- Created: 2017-04-16T19:56:27.000Z (about 9 years ago)
- Default Branch: master
- Last Pushed: 2022-08-01T18:12:50.000Z (almost 4 years ago)
- Last Synced: 2025-04-09T08:40:39.352Z (about 1 year ago)
- Language: Rust
- Size: 146 KB
- Stars: 23
- Watchers: 2
- Forks: 8
- Open Issues: 4
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
rsfs
====
[](https://travis-ci.org/twmb/rsfs) [](https://crates.io/crates/rsfs) [](https://docs.rs/rsfs/)
This crate provides a generic filesystem with disk and in-memory
implementations.
In the future, a module will be provided that will allow injecting errors into
filesystem operations in your tests on an in-memory filesystem. This _used_ to
exist but was removed in commit 1ee34f6.
This crate is currently particularly useful becacuse it provides a solid
in-memory filesystem. In the future, it will be _more_ useful for triggering
filesystem errors in your unit tests to enable testing of how your code handles
filesystem errors.
See the crate [documentation](https://docs.rs/rsfs/) for a longer explanation
on usage and examples of usage.