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

Method segment_file_path

crates/commitlog/src/repo/fs.rs:302–304  ·  view source on GitHub ↗
(&self, offset: u64)

Source from the content-addressed store, hash-verified

300 }
301
302 fn segment_file_path(&self, offset: u64) -> Option<String> {
303 Some(self.segment_path(offset).0.to_string_lossy().into_owned())
304 }
305
306 fn open_segment_reader(&self, offset: u64) -> io::Result<Self::SegmentReader> {
307 let path = self.segment_path(offset);

Callers

nothing calls this directly

Calls 2

into_ownedMethod · 0.80
segment_pathMethod · 0.80

Tested by

no test coverage detected