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

Method on_cache_update_async

crates/cache/src/worker.rs:101–104  ·  view source on GitHub ↗
(&self, path: impl AsRef<Path>)

Source from the content-addressed store, hash-verified

99 }
100
101 pub(super) fn on_cache_update_async(&self, path: impl AsRef<Path>) {
102 let event = CacheEvent::OnCacheUpdate(path.as_ref().to_path_buf());
103 self.send_cache_event(event);
104 }
105
106 #[inline]
107 fn send_cache_event(&self, event: CacheEvent) {

Callers

nothing calls this directly

Calls 2

send_cache_eventMethod · 0.80
as_refMethod · 0.45

Tested by

no test coverage detected