A fresh repository with an initialized vault.
()
| 197 | |
| 198 | /// A fresh repository with an initialized vault. |
| 199 | fn init_repo() -> (Repository, tempfile::TempDir) { |
| 200 | let dir = tempdir().unwrap(); |
| 201 | let repo = Repository::init(dir.path()).unwrap(); |
| 202 | repo.init_vault().unwrap(); |
| 203 | (repo, dir) |
| 204 | } |
| 205 | |
| 206 | /// The classification mirrored into the manifest `IntentSummary.kind` — the |
| 207 | /// exact field `intent list`/`show` read without lifting. |