Struct reproto_core::CapturingFilesystem
[−]
[src]
pub struct CapturingFilesystem { /* fields omitted */ }
Capture all filesystem operations in-memory.
Used (among other things) for rendering output in WASM.
Methods
impl CapturingFilesystem
[src]
pub fn new() -> CapturingFilesystem
[src]
ⓘImportant traits for Box<W>pub fn filesystem(&self) -> Box<Filesystem>
[src]
ⓘImportant traits for Box<W>
Create a new filesystem handle that can be passed into Context
.
pub fn files(&self) -> &Rc<RefCell<LinkedHashMap<RelativePathBuf, Vec<u8>>>>
[src]
Access the underlying captured files.