MCPcopy Create free account
hub / github.com/f0rr0/oliphaunt / size

Method size

xtask/src/main.rs:196–201  ·  view source on GitHub ↗
(&self)

Source from the content-addressed store, hash-verified

194 }
195
196 fn size(&self) -> u64 {
197 self.inner
198 .lock()
199 .map(|state| state.bytes.len() as u64)
200 .unwrap_or(0)
201 }
202
203 fn set_len(&mut self, _new_size: u64) -> wasmer_wasix::virtual_fs::Result<()> {
204 Ok(())

Callers

nothing calls this directly

Calls 1

lenMethod · 0.80

Tested by

no test coverage detected