(repo: &Repository)
| 17 | use tempfile::TempDir; |
| 18 | |
| 19 | fn working_copy(repo: &Repository) -> WorkingCopyId { |
| 20 | repo.require_working_copy_id().expect("working copy id") |
| 21 | } |
| 22 | |
| 23 | fn add_file(repo: &Repository, repo_path: &Path, name: &str, content: &str) { |
| 24 | fs::write(repo_path.join(name), content).expect("write file"); |
no test coverage detected