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

Function binding_ref_name

atomic-repository/src/git_binding/transport.rs:64–66  ·  view source on GitHub ↗

The create-only binding ref for `id` (delegates to the reviewed shard layout), or `None` when the id does not round-trip through the transferable-namespace check — which would be a layout bug, not a policy decision.

(id: &BindingId)

Source from the content-addressed store, hash-verified

62/// transferable-namespace check — which would be a layout bug, not a
63/// policy decision.
64pub fn binding_ref_name(id: &BindingId) -> String {
65 Repository::binding_ref_name(id)
66}
67
68/// Every local ref this transport may transfer, in deterministic order.
69///

Calls

no outgoing calls