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

Function agent_dir

atomic-agent/src/integrations/receipt.rs:40–42  ·  view source on GitHub ↗

Per-agent integration directory: `~/.atomic/integrations/ `.

(agent: &str)

Source from the content-addressed store, hash-verified

38
39/// Per-agent integration directory: `~/.atomic/integrations/<agent>`.
40pub fn agent_dir(agent: &str) -> AgentResult<PathBuf> {
41 Ok(integrations_root()?.join(agent))
42}
43
44/// Where the CLI clones/syncs the package repository for an agent.
45pub fn cache_repo_dir(agent: &str) -> AgentResult<PathBuf> {

Callers 3

cache_repo_dirFunction · 0.85
receipt_pathFunction · 0.85
removeMethod · 0.85

Calls 1

integrations_rootFunction · 0.85

Tested by

no test coverage detected