The directory that holds a memory's canonical sidecar artifacts: ` /canonical/memory/ /`.
(repo: &Repository, id_or_path: &str)
| 147 | /// The directory that holds a memory's canonical sidecar artifacts: |
| 148 | /// `<dot_dir>/canonical/memory/<sanitized-id>/`. |
| 149 | pub fn sidecar_dir(repo: &Repository, id_or_path: &str) -> PathBuf { |
| 150 | repo.dot_dir() |
| 151 | .join("canonical") |
| 152 | .join("memory") |
| 153 | .join(sanitize_id(&memory_id(id_or_path))) |
| 154 | } |
| 155 | |
| 156 | /// The attested-node sidecar file for a memory. |
| 157 | pub fn attested_sidecar_path(repo: &Repository, id_or_path: &str) -> PathBuf { |
no test coverage detected