MCPcopy Create free account
hub / github.com/Doctave/dossier / InMemoryFileSystem

Class InMemoryFileSystem

dossier-core/src/lib.rs:187–189  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

185}
186
187pub struct InMemoryFileSystem {
188 pub files: indexmap::IndexMap<PathBuf, String>,
189}
190
191impl FileSource for InMemoryFileSystem {
192 fn read_file<'a, P: Into<&'a Path>>(&self, path: P) -> std::io::Result<String> {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected