A crate with a few tools to make the use of vfs a bit more convenient.
[setup_files] is a macro for preparing a MemoryFS with contents. This macro is intended for testing.
```rust use vfstools::setupfiles; let rootpath = setupfiles! { some/path/"file1": b"contents of file1" some/path/"file2": b"contents of file2" some/other/path/"file3": b"contents of file3" }?; let mut result = String::new(); rootpath.join("some/path/file2")?.openfile()?.readtostring(&mut result)?; assert_eq!("contents of file2", result);
```
[VfsPathExt] contains extensions to [vfs::VfsPath]