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