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

Method install

atomic-agent/src/hooks/grok.rs:227–235  ·  view source on GitHub ↗
(&self, _repo_root: &Path)

Source from the content-addressed store, hash-verified

225 }
226
227 fn install(&self, _repo_root: &Path) -> AgentResult<usize> {
228 // Installation is handled by the atomic-grok package via the
229 // integrations engine. Report 1 if hooks are already present.
230 if Self::is_hooks_installed() {
231 Ok(1)
232 } else {
233 Ok(0)
234 }
235 }
236
237 fn uninstall(&self, _repo_root: &Path) -> AgentResult<()> {
238 // Uninstall is receipt-driven by `atomic agent disable`.

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected