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

Method write

crates/cache/src/lib.rs:316–318  ·  view source on GitHub ↗
(&mut self, bytes: &[u8])

Source from the content-addressed store, hash-verified

314 }
315
316 fn write(&mut self, bytes: &[u8]) {
317 self.0.update(bytes);
318 }
319}
320
321// Assumption: path inside cache directory.

Callers 5

fs_write_atomicFunction · 0.45
acquire_task_fs_lockFunction · 0.45
ext_moveMethod · 0.45
downcastMethod · 0.45
ext_moveMethod · 0.45

Calls 1

updateMethod · 0.45

Tested by

no test coverage detected