Crates.io | rsfs |
lib.rs | rsfs |
version | 0.4.1 |
source | src |
created_at | 2017-04-17 02:55:14.83918 |
updated_at | 2017-08-02 14:52:22.704919 |
description | A generic filesystem with disk and in-memory implementations. |
homepage | https://docs.rs/rsfs |
repository | https://github.com/twmb/rsfs |
max_upload_size | |
id | 10893 |
size | 216,883 |
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 for a longer explanation on usage and examples of usage.