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

Function is_wip_ref

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

Whether `name` is a local WIP recovery ref (never transferable).

(name: &str)

Source from the content-addressed store, hash-verified

54
55/// Whether `name` is a local WIP recovery ref (never transferable).
56pub fn is_wip_ref(name: &str) -> bool {
57 name.starts_with(WIP_REF_PREFIX)
58}
59
60/// The create-only binding ref for `id` (delegates to the reviewed shard
61/// layout), or `None` when the id does not round-trip through the

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected