(&self)
| 135 | } |
| 136 | |
| 137 | pub fn uninstall_global(&self) -> AgentResult<()> { |
| 138 | if let Some(path) = Self::global_hooks_path() { |
| 139 | uninstall_hooks_at(&path)?; |
| 140 | } |
| 141 | Ok(()) |
| 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)) |
no test coverage detected