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

Method size

src/pglite/sync_host_fs.rs:221–223  ·  view source on GitHub ↗
(&self)

Source from the content-addressed store, hash-verified

219 }
220
221 fn size(&self) -> u64 {
222 self.metadata().map(|metadata| metadata.len()).unwrap_or(0)
223 }
224
225 fn set_len(&mut self, new_size: u64) -> virtual_fs::Result<()> {
226 self.file.set_len(new_size).map_err(FsError::from)

Callers

nothing calls this directly

Calls 2

lenMethod · 0.80
metadataMethod · 0.45

Tested by

no test coverage detected