MCPcopy Create free account
hub / github.com/atomicdotdev/atomic / decode_mapping

Function decode_mapping

atomic-repository/src/repository/ref_mapping.rs:423–425  ·  view source on GitHub ↗
(bytes: &[u8])

Source from the content-addressed store, hash-verified

421}
422
423fn decode_mapping(bytes: &[u8]) -> Result<RefMapping, RepositoryError> {
424 RefMapping::decode(bytes).map_err(|error| RepositoryError::Serialization(error.to_string()))
425}
426
427/// The exact Git-side movement between the last mutually observed tip and the
428/// current mapped-ref tip (CB-10A containment input, review R2).

Callers 3

get_ref_mappingMethod · 0.85
list_ref_mappingsMethod · 0.85

Calls 1

decodeFunction · 0.70

Tested by

no test coverage detected