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

Function attested_sidecar_path

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

The attested-node sidecar file for an intent.

(repo: &Repository, id: &str)

Source from the content-addressed store, hash-verified

153
154/// The attested-node sidecar file for an intent.
155pub fn attested_sidecar_path(repo: &Repository, id: &str) -> BridgeResult<PathBuf> {
156 Ok(sidecar_dir(repo, id)?.join("attested.jsonld"))
157}
158
159/// Candidate legacy-sidecar paths, most-preferred first: the normalized-id path
160/// (what the current `attest` writes) and the raw-arg path an M1a-era build

Calls 1

sidecar_dirFunction · 0.70