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

Function cache_repo_dir

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

Where the CLI clones/syncs the package repository for an agent.

(agent: &str)

Source from the content-addressed store, hash-verified

43
44/// Where the CLI clones/syncs the package repository for an agent.
45pub fn cache_repo_dir(agent: &str) -> AgentResult<PathBuf> {
46 Ok(agent_dir(agent)?.join("repo"))
47}
48
49/// Path to an agent's receipt file.
50pub fn receipt_path(agent: &str) -> AgentResult<PathBuf> {

Callers 1

sync_integration_packageFunction · 0.85

Calls 1

agent_dirFunction · 0.85

Tested by

no test coverage detected