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

Function receipt_path

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

Path to an agent's receipt file.

(agent: &str)

Source from the content-addressed store, hash-verified

48
49/// Path to an agent's receipt file.
50pub fn receipt_path(agent: &str) -> AgentResult<PathBuf> {
51 Ok(agent_dir(agent)?.join(RECEIPT_FILE))
52}
53
54/// One installed file and its content hash at install time.
55#[derive(Debug, Clone, Serialize, Deserialize)]

Callers 3

saveMethod · 0.85
loadMethod · 0.85
removeMethod · 0.85

Calls 1

agent_dirFunction · 0.85

Tested by

no test coverage detected