(
common_dir: &Path,
worktree_git_dir: &Path,
)
| 149 | } |
| 150 | |
| 151 | pub 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 |