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

Function attested_sidecar_path

atomic-cli/src/commands/intent/bridge.rs:169–171  ·  view source on GitHub ↗

The attested-node sidecar file for an intent.

(repo: &Repository, id: &str)

Source from the content-addressed store, hash-verified

167
168/// The attested-node sidecar file for an intent.
169pub fn attested_sidecar_path(repo: &Repository, id: &str) -> CliResult<PathBuf> {
170 Ok(sidecar_dir(repo, id)?.join("attested.jsonld"))
171}
172
173/// Candidate legacy-sidecar paths, most-preferred first: the normalized-id path
174/// (what the current `attest` writes) and the raw-arg path an M1a-era build

Callers 4

write_legacy_sidecarFunction · 0.70
runMethod · 0.70

Calls 1

sidecar_dirFunction · 0.70

Tested by 2

runMethod · 0.56