(&self)
| 142 | } |
| 143 | |
| 144 | pub fn is_installed_global(&self) -> bool { |
| 145 | Self::global_hooks_path().is_some_and(|path| hooks_file_has_atomic_hooks(&path)) |
| 146 | } |
| 147 | |
| 148 | fn local_hooks_path(repo_root: &Path) -> PathBuf { |
| 149 | repo_root.join(CODEX_DIR).join(HOOKS_FILE) |
no test coverage detected