pub trait PathAccessModel {
// Required method
fn content(&self, src: &Path) -> FileResult<Bytes>;
// Provided method
fn reset(&mut self) { ... }
}
Expand description
A trait for accessing underlying file system.
This trait is simplified by Vfs
and requires a minimal method set for
typst compilation.