()
| 1162 | use atomic_repository::{IntentCreateOptions, IntentCreateResult}; |
| 1163 | |
| 1164 | fn fixture() -> (tempfile::TempDir, Repository) { |
| 1165 | let dir = tempfile::tempdir().unwrap(); |
| 1166 | let repo = Repository::init(dir.path()).unwrap(); |
| 1167 | repo.init_vault().unwrap(); |
| 1168 | (dir, repo) |
| 1169 | } |
| 1170 | |
| 1171 | // Windows enforces redb's byte-range locks on ordinary file reads too. |
| 1172 | // Snapshot only while closed, then exercise the real read-only open path. |