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

Method write_receipt

atomic-cli/src/commands/diagnostics/collect.rs:1448–1456  ·  view source on GitHub ↗
(&self, agent: &str, receipt: &serde_json::Value)

Source from the content-addressed store, hash-verified

1446 }
1447
1448 fn write_receipt(&self, agent: &str, receipt: &serde_json::Value) {
1449 let dir = self.integrations().join(agent);
1450 fs::create_dir_all(&dir).unwrap();
1451 fs::write(
1452 dir.join(RECEIPT_FILE),
1453 serde_json::to_string(receipt).unwrap(),
1454 )
1455 .unwrap();
1456 }
1457
1458 fn skills_cache(&self, manifest: &str) {
1459 let dir = self.integrations().join(SKILLS_PACKAGE).join("repo");

Callers 2

installMethod · 0.80

Calls 3

integrationsMethod · 0.80
writeFunction · 0.50
unwrapMethod · 0.45