Crates.io | rsfs-tokio |
lib.rs | rsfs-tokio |
version | 0.5.0 |
source | src |
created_at | 2023-05-16 02:10:32.701988 |
updated_at | 2023-05-16 02:10:32.701988 |
description | A generic filesystem with disk and in-memory implementations. |
homepage | |
repository | https://github.com/twmb/rsfs |
max_upload_size | |
id | 865543 |
size | 246,087 |
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.