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

Function is_wip_ref

atomic-repository/src/wip.rs:101–103  ·  view source on GitHub ↗

Whether `ref_name` is in Atomic's local WIP namespace.

(ref_name: &[u8])

Source from the content-addressed store, hash-verified

99
100/// Whether `ref_name` is in Atomic's local WIP namespace.
101pub fn is_wip_ref(ref_name: &[u8]) -> bool {
102 ref_name.starts_with(WIP_REF_PREFIX.as_bytes())
103}
104
105/// Central publication predicate for Git refs managed by Atomic.
106pub fn is_publishable_git_ref(ref_name: &[u8]) -> bool {

Callers 2

is_publishable_git_refFunction · 0.70
digest_refsFunction · 0.50

Calls 1

as_bytesMethod · 0.45

Tested by

no test coverage detected