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

Function binding_conflict

atomic-core/src/pristine/bindings.rs:58–64  ·  view source on GitHub ↗
(id_hex: &str)

Source from the content-addressed store, hash-verified

56}
57
58pub(super) fn binding_conflict(id_hex: &str) -> PristineError {
59 PristineError::Serialization {
60 message: format!(
61 "immutable binding {id_hex} already exists with different bytes; refusing to overwrite"
62 ),
63 }
64}
65
66#[cfg(test)]
67mod tests {

Callers 1

insert_binding_bytesMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected