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

Function store

libatomic/src/daemon/services_review/mutation.rs:178–187  ·  view source on GitHub ↗
(repo: &Repository, path: &str, receipt: &Receipt)

Source from the content-addressed store, hash-verified

176}
177
178fn store(repo: &Repository, path: &str, receipt: &Receipt) -> Result<(), Status> {
179 repo.vault_store(
180 path,
181 VaultEntryType::ToolResult,
182 serde_json::to_vec(receipt).map_err(|error| Status::internal(error.to_string()))?,
183 "{}".into(),
184 )
185 .map(|_| ())
186 .map_err(repository_error)
187}

Callers 11

runFunction · 0.70
reserve_turnFunction · 0.50
append_envelopesFunction · 0.50
prepare_checkpointFunction · 0.50
load_frozen_pageFunction · 0.50
bind_checkpoint_hashFunction · 0.50
acknowledge_checkpointFunction · 0.50
lifecycle_lookupFunction · 0.50
stop_turnFunction · 0.50
resume_turnFunction · 0.50
abandon_turnFunction · 0.50

Calls 1

vault_storeMethod · 0.80

Tested by

no test coverage detected