The directory that holds a memory's canonical sidecar artifacts: ` /canonical/memory/ /`.
(repo: &Repository, id_or_path: &str)
| 160 | /// The directory that holds a memory's canonical sidecar artifacts: |
| 161 | /// `<dot_dir>/canonical/memory/<sanitized-id>/`. |
| 162 | pub fn sidecar_dir(repo: &Repository, id_or_path: &str) -> PathBuf { |
| 163 | repo.dot_dir() |
| 164 | .join("canonical") |
| 165 | .join("memory") |
| 166 | .join(sanitize_id(&memory_id(id_or_path))) |
| 167 | } |
| 168 | |
| 169 | /// The attested-node sidecar file for a memory. |
| 170 | pub fn attested_sidecar_path(repo: &Repository, id_or_path: &str) -> PathBuf { |
no test coverage detected