MCPcopy Create free account
hub / github.com/clockworklabs/SpacetimeDB / ftruncate

Method ftruncate

crates/commitlog/src/tests/partial.rs:211–213  ·  view source on GitHub ↗
(&mut self, tx_offset: u64, size: u64)

Source from the content-addressed store, hash-verified

209 }
210
211 fn ftruncate(&mut self, tx_offset: u64, size: u64) -> std::io::Result<()> {
212 self.inner.ftruncate(tx_offset, size)
213 }
214
215 #[cfg(feature = "fallocate")]
216 fn fallocate(&mut self, size: u64) -> io::Result<()> {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected