(&self)
| 160 | } |
| 161 | |
| 162 | pub fn uninstall_global(&self) -> AgentResult<()> { |
| 163 | if let Some(path) = Self::global_hooks_path() { |
| 164 | uninstall_hooks_at(&path)?; |
| 165 | } |
| 166 | Ok(()) |
| 167 | } |
| 168 | |
| 169 | pub fn is_installed_global(&self) -> bool { |
| 170 | Self::global_hooks_path().is_some_and(|path| self.is_installed_at(&path)) |
no test coverage detected