Whether `ref_name` is in Atomic's local WIP namespace.
(ref_name: &[u8])
| 99 | |
| 100 | /// Whether `ref_name` is in Atomic's local WIP namespace. |
| 101 | pub 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. |
| 106 | pub fn is_publishable_git_ref(ref_name: &[u8]) -> bool { |
no test coverage detected