(root: &Path, rel: &str, content: &str)
| 270 | } |
| 271 | |
| 272 | fn write(root: &Path, rel: &str, content: &str) { |
| 273 | let path = root.join(rel); |
| 274 | std::fs::create_dir_all(path.parent().unwrap()).unwrap(); |
| 275 | std::fs::write(path, content).unwrap(); |
| 276 | } |
| 277 | |
| 278 | /// Every redb file under `dir`. |
| 279 | fn redb_files(dir: &Path) -> Vec<PathBuf> { |
no test coverage detected