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

Method install_at

atomic-agent/src/hooks/codex.rs:158–160  ·  view source on GitHub ↗

Install or migrate Atomic hooks at an explicit Codex hooks file. Integration receipts record the exact settings target they manage. Using that path during upgrades avoids accidentally creating a repository-local hook file while leaving stale global hooks active.

(&self, path: &Path, force: bool)

Source from the content-addressed store, hash-verified

156 /// Using that path during upgrades avoids accidentally creating a
157 /// repository-local hook file while leaving stale global hooks active.
158 pub fn install_at(&self, path: &Path, force: bool) -> AgentResult<usize> {
159 install_hooks_at(path, force)
160 }
161
162 pub fn uninstall_global(&self) -> AgentResult<()> {
163 if let Some(path) = Self::global_hooks_path() {

Callers 3

install_globalMethod · 0.80
installMethod · 0.80

Calls 1

install_hooks_atFunction · 0.85

Tested by

no test coverage detected