(repo_path: &Path, name: &str, content: &str)
| 11 | use tempfile::TempDir; |
| 12 | |
| 13 | fn write(repo_path: &Path, name: &str, content: &str) { |
| 14 | let path = repo_path.join(name); |
| 15 | fs::create_dir_all(path.parent().unwrap()).unwrap(); |
| 16 | fs::write(path, content).unwrap(); |
| 17 | } |
| 18 | |
| 19 | fn record(repo: &Repository, message: &str) -> Hash { |
| 20 | let header = ChangeHeader::builder() |
no test coverage detected