A fresh repository with an initialized vault.
()
| 255 | |
| 256 | /// A fresh repository with an initialized vault. |
| 257 | fn init_repo() -> (Repository, tempfile::TempDir) { |
| 258 | let dir = tempdir().unwrap(); |
| 259 | let repo = Repository::init(dir.path()).unwrap(); |
| 260 | repo.init_vault().unwrap(); |
| 261 | (repo, dir) |
| 262 | } |
| 263 | |
| 264 | /// The classification mirrored into the manifest `IntentSummary.kind` — the |
| 265 | /// exact field `intent list`/`show` read without lifting. |