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

Function attested_sidecar_path

atomic-cli/src/commands/memory/bridge.rs:157–159  ·  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

155
156/// The attested-node sidecar file for a memory.
157pub fn attested_sidecar_path(repo: &Repository, id_or_path: &str) -> PathBuf {
158 sidecar_dir(repo, id_or_path).join("attested.jsonld")
159}
160
161/// A hash of the source lift inputs, recorded so a later edit to the memory can
162/// 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