(root: &std::path::Path, rel: &str, content: &str)
| 27 | use libatomic::atomic::{GenerateTriageReviewRequest, RepositoryRef}; |
| 28 | |
| 29 | fn write(root: &std::path::Path, rel: &str, content: &str) { |
| 30 | let path = root.join(rel); |
| 31 | std::fs::create_dir_all(path.parent().unwrap()).unwrap(); |
| 32 | std::fs::write(path, content).unwrap(); |
| 33 | } |
| 34 | |
| 35 | /// A repository with one change on `dev` and one on a draft `feat`. |
| 36 | fn host() -> (TempDir, std::path::PathBuf, Arc<DaemonState>, RepositoryRef) { |