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

Function attested_sidecar_path

atomic-cli/src/commands/memory/bridge.rs:170–172  ·  view source on GitHub ↗

The attested-node sidecar file for a memory.

(repo: &Repository, id_or_path: &str)

Source from the content-addressed store, hash-verified

168
169/// The attested-node sidecar file for a memory.
170pub fn attested_sidecar_path(repo: &Repository, id_or_path: &str) -> PathBuf {
171 sidecar_dir(repo, id_or_path).join("attested.jsonld")
172}
173
174/// A hash of the source lift inputs, recorded so a later edit to the memory can
175/// be detected as making the attestation stale. Standalone digest of

Callers 4

load_attestationFunction · 0.70
write_legacy_sidecarFunction · 0.70
runMethod · 0.70

Calls 1

sidecar_dirFunction · 0.70

Tested by 2

runMethod · 0.56