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

Method install

atomic-agent/src/hooks/agy.rs:326–335  ·  view source on GitHub ↗
(&self, _repo_root: &Path)

Source from the content-addressed store, hash-verified

324 }
325
326 fn install(&self, _repo_root: &Path) -> AgentResult<usize> {
327 // Installation is owned by the integrations engine (the atomic-agy
328 // package on Atomic storage). Report 1 when the plugin is already
329 // staged so `enable` shows a success message.
330 if Self::plugin_present() {
331 Ok(1)
332 } else {
333 Ok(0)
334 }
335 }
336
337 fn uninstall(&self, _repo_root: &Path) -> AgentResult<()> {
338 Ok(()) // Uninstallation is receipt-driven via the integrations engine.

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected