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

Function segment_label

crates/commitlog/src/repo/mod.rs:450–453  ·  view source on GitHub ↗
(repo: &R, offset: u64)

Source from the content-addressed store, hash-verified

448}
449
450fn segment_label<R: Repo>(repo: &R, offset: u64) -> String {
451 repo.segment_file_path(offset)
452 .unwrap_or_else(|| format!("offset {offset}"))
453}
454
455fn with_segment_context<R: Repo>(context: &'static str, repo: &R, offset: u64, source: io::Error) -> io::Error {
456 io::Error::new(

Callers 1

open_segment_readerFunction · 0.85

Calls 1

segment_file_pathMethod · 0.45

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…