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

Function is_publishable_git_ref

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

Central publication predicate for Git refs managed by Atomic.

(ref_name: &[u8])

Source from the content-addressed store, hash-verified

104
105/// Central publication predicate for Git refs managed by Atomic.
106pub fn is_publishable_git_ref(ref_name: &[u8]) -> bool {
107 !is_wip_ref(ref_name)
108}
109
110/// Preserve the current tracked working tree under an immutable local Git ref.
111///

Callers 1

push_to_remoteMethod · 0.85

Calls 1

is_wip_refFunction · 0.70

Tested by

no test coverage detected