The attested-node sidecar file for an intent.
(repo: &Repository, id: &str)
| 226 | |
| 227 | /// The attested-node sidecar file for an intent. |
| 228 | pub 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 |