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

Function attested_sidecar_path

atomic-repository/src/intent_bridge.rs:228–230  ·  view source on GitHub ↗

The attested-node sidecar file for an intent.

(repo: &Repository, id: &str)

Source from the content-addressed store, hash-verified

226
227/// The attested-node sidecar file for an intent.
228pub fn attested_sidecar_path(repo: &Repository, id: &str) -> BridgeResult<PathBuf> {
229 Ok(sidecar_dir(repo, id)?.join("attested.jsonld"))
230}
231
232/// Candidate legacy-sidecar paths, most-preferred first: the normalized-id path
233/// (what the current `attest` writes) and the raw-arg path an M1a-era build

Calls 1

sidecar_dirFunction · 0.70