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

Method install_global

atomic-agent/src/hooks/agy.rs:703–711  ·  view source on GitHub ↗

Install hooks globally as an Antigravity plugin.

(&self, force: bool)

Source from the content-addressed store, hash-verified

701
702 /// Install hooks globally as an Antigravity plugin.
703 pub fn install_global(&self, force: bool) -> AgentResult<usize> {
704 let config_dir = Self::global_config_dir().ok_or_else(|| AgentError::ConfigError {
705 operation: "resolve home".to_string(),
706 path: PathBuf::from("~/.gemini/config"),
707 reason: "Could not determine home directory".to_string(),
708 })?;
709
710 Self::install_to(&config_dir, force)
711 }
712
713 /// Remove the global Antigravity plugin hooks.
714 pub fn uninstall_global(&self) -> AgentResult<()> {

Callers 2

run_globalMethod · 0.45
installMethod · 0.45

Calls 1

global_config_dirFunction · 0.85

Tested by

no test coverage detected