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

Function decode_header_error

crates/commitlog/src/commit.rs:394–396  ·  view source on GitHub ↗
(e: DecodeError, field: &str)

Source from the content-addressed store, hash-verified

392}
393
394fn decode_header_error(e: DecodeError, field: &str) -> io::Error {
395 invalid_data(format!("failed to decode commit header field '{field}': {e}"))
396}
397
398fn invalid_data<E>(e: E) -> io::Error
399where

Callers 2

decode_v0Method · 0.85
decode_v1Method · 0.85

Calls 1

invalid_dataFunction · 0.85

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…