The directory that holds an intent's canonical sidecar artifacts: ` /canonical/intents/ /`. Keyed off the SAME normalized id as the tracked vault path (critic #4).
(repo: &Repository, id: &str)
| 217 | /// `<dot_dir>/canonical/intents/<sanitized-normalized-id>/`. Keyed off the SAME |
| 218 | /// normalized id as the tracked vault path (critic #4). |
| 219 | pub fn sidecar_dir(repo: &Repository, id: &str) -> BridgeResult<PathBuf> { |
| 220 | Ok(repo |
| 221 | .dot_dir() |
| 222 | .join("canonical") |
| 223 | .join("intents") |
| 224 | .join(sanitize_id(&normalized_id(repo, id)?))) |
| 225 | } |
| 226 | |
| 227 | /// The attested-node sidecar file for an intent. |
| 228 | pub fn attested_sidecar_path(repo: &Repository, id: &str) -> BridgeResult<PathBuf> { |
no test coverage detected