Struct tbf::InMemoryFs [−][src]
pub struct InMemoryFs { /* fields omitted */ }Expand description
An in-memory implementation of a tag-based filesystem. This implementation will store all data in program memory, only persisting it for the duration of the program runtime.
This is most useful for tests / mocking of a filesystem, and probably not what you want for long term usage.
Implementations
Create a new instance of an in-memory filesystem
Trait Implementations
Add a new file with the given data and tags
Edit an existing file, altering the data or tags
Search for files matching a given tag pattern