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

Method metadata

crates/commitlog/src/segment.rs:471–473  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

469
470 #[cfg(test)]
471 pub(crate) fn metadata(self) -> Result<Metadata, error::SegmentMetadata> {
472 Metadata::with_header(self.min_tx_offset, self.header, self.inner, None)
473 }
474}
475
476/// Advances the `segment` reader to the position corresponding to the `start_tx_offset`

Callers 15

find_target_doc_jsonFunction · 0.45
recurseFunction · 0.45
file_sizeMethod · 0.45
sizeMethod · 0.45
reload_configFunction · 0.45
stored_program_hashFunction · 0.45
build_cppFunction · 0.45
metadataFunction · 0.45
size_on_diskMethod · 0.45
open_segment_readerMethod · 0.45
on_startupMethod · 0.45
logMethod · 0.45

Calls

no outgoing calls

Tested by 1

metadataFunction · 0.36