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

Method is_complete

atomic-repository/src/repository/workspace_txn.rs:134–148  ·  view source on GitHub ↗

The complete namespace list an observation must have covered.

(&self)

Source from the content-addressed store, hash-verified

132impl LockScanProof {
133 /// The complete namespace list an observation must have covered.
134 pub fn is_complete(&self) -> bool {
135 let required = [
136 "worktree-head-lock",
137 "worktree-packed-refs-lock",
138 "worktree-reftable",
139 "worktree-refs",
140 "worktree-top-level",
141 "common-head-lock",
142 "common-packed-refs-lock",
143 "common-reftable",
144 "common-refs",
145 "common-top-level",
146 ];
147 required.iter().all(|ns| self.inspected.contains(ns))
148 }
149}
150
151pub fn git_locks_present(

Callers

nothing calls this directly

Calls 3

allMethod · 0.45
iterMethod · 0.45
containsMethod · 0.45

Tested by

no test coverage detected