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

Function tree_bijection_error

atomic-core/src/pristine/path_claim.rs:230–235  ·  view source on GitHub ↗
(message: impl Into<String>)

Source from the content-addressed store, hash-verified

228}
229
230pub(crate) fn tree_bijection_error(message: impl Into<String>) -> PristineError {
231 invalid_path_claim_data(format!(
232 "TREE/REV_TREE invariant violation: {}",
233 message.into()
234 ))
235}
236
237fn put_u64(bytes: &mut [u8; PATH_CLAIM_EVENT_SIZE], offset: usize, value: u64) {
238 bytes[offset..offset + 8].copy_from_slice(&value.to_be_bytes());

Callers 3

put_treeMethod · 0.85
del_treeMethod · 0.85

Calls 1

invalid_path_claim_dataFunction · 0.85

Tested by

no test coverage detected