MCPcopy Create free account
hub / github.com/NodeDB-Lab/nodedb / parse_segment_seq

Function parse_segment_seq

nodedb/src/engine/array/store/catalog.rs:444–446  ·  view source on GitHub ↗
(id: &str)

Source from the content-addressed store, hash-verified

442}
443
444fn parse_segment_seq(id: &str) -> Option<u64> {
445 id.split_once('.').and_then(|(stem, _)| stem.parse().ok())
446}
447
448#[cfg(test)]
449mod tests {

Callers 1

openMethod · 0.85

Calls 2

okMethod · 0.45
parseMethod · 0.45

Tested by

no test coverage detected