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

Function git_locks_present

atomic-repository/src/repository/workspace_txn.rs:151–157  ·  view source on GitHub ↗
(
    common_dir: &Path,
    worktree_git_dir: &Path,
)

Source from the content-addressed store, hash-verified

149}
150
151pub fn git_locks_present(
152 common_dir: &Path,
153 worktree_git_dir: &Path,
154) -> Result<Vec<PathBuf>, String> {
155 let (locks, _proof) = git_locks_present_proved(common_dir, worktree_git_dir)?;
156 Ok(locks)
157}
158
159/// The quiet-lock enumeration with its namespace proof (CB-13D ::24 R2):
160/// every walked namespace and every symlinked directory the policy skipped

Calls 1

git_locks_present_provedFunction · 0.85