(name: &str)
| 104 | |
| 105 | impl Preserved { |
| 106 | fn new(name: &str) -> Self { |
| 107 | let root = tempfile::tempdir().expect("repo tempdir"); |
| 108 | let home = tempfile::tempdir().expect("home tempdir"); |
| 109 | assert!(git(root.path(), &["init", "-q", "-b", "main"]) |
| 110 | .status |
| 111 | .success()); |
| 112 | let _ = name; |
| 113 | Self { root, home } |
| 114 | } |
| 115 | |
| 116 | /// The unrelated active Atomic view. `--no-vault` keeps the fixture |
| 117 | /// minimal; the view stays empty (0 changes) and never verifies a |
nothing calls this directly
no outgoing calls
no test coverage detected