A fresh repository with an initialized vault.
()
| 247 | |
| 248 | /// A fresh repository with an initialized vault. |
| 249 | fn init_repo() -> (Repository, tempfile::TempDir) { |
| 250 | let dir = tempdir().unwrap(); |
| 251 | let repo = Repository::init(dir.path()).unwrap(); |
| 252 | repo.init_vault().unwrap(); |
| 253 | (repo, dir) |
| 254 | } |
| 255 | |
| 256 | /// The classification mirrored into the manifest `IntentSummary.kind` — the |
| 257 | /// exact field `intent list`/`show` read without lifting. |