(path: &path::Path, data: &path::Path)
| 320 | } |
| 321 | |
| 322 | fn write_file(path: &path::Path, data: &path::Path) -> Result<(), FixtureError> { |
| 323 | ensure_parent_dir(path)?; |
| 324 | fs::copy(data, path).chain(FixtureError::new(FixtureKind::CopyFile))?; |
| 325 | Ok(()) |
| 326 | } |
| 327 | |
| 328 | fn copy_files<S>( |
| 329 | target: &path::Path, |
no test coverage detected