MCPcopy Create free account
hub / github.com/bytecodealliance/wasmtime / directory

Method directory

crates/cache/src/lib.rs:98–103  ·  view source on GitHub ↗

Returns path to the cache directory.

(&self)

Source from the content-addressed store, hash-verified

96
97 /// Returns path to the cache directory.
98 pub fn directory(&self) -> &PathBuf {
99 &self
100 .config
101 .directory()
102 .expect("directory should be validated in Config::new")
103 }
104
105 #[cfg(test)]
106 fn worker(&self) -> &Worker {

Callers 1

newMethod · 0.45

Calls 1

expectMethod · 0.45

Tested by

no test coverage detected