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

Method remove_offset_index

crates/commitlog/src/repo/mod.rs:200–202  ·  view source on GitHub ↗

Remove [`TxOffsetIndexMut`] named with `offset`.

(&self, offset: TxOffset)

Source from the content-addressed store, hash-verified

198
199 /// Remove [`TxOffsetIndexMut`] named with `offset`.
200 fn remove_offset_index(&self, offset: TxOffset) -> io::Result<()> {
201 T::remove_offset_index(self, offset)
202 }
203
204 /// Get [`TxOffsetIndex`] for the given `offset`.
205 fn get_offset_index(&self, offset: TxOffset) -> io::Result<TxOffsetIndex> {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected