(path: &path::Path, data: &str)
| 315 | } |
| 316 | |
| 317 | fn write_str(path: &path::Path, data: &str) -> Result<(), FixtureError> { |
| 318 | ensure_parent_dir(path)?; |
| 319 | write_binary(path, data.as_bytes()).chain(FixtureError::new(FixtureKind::WriteFile)) |
| 320 | } |
| 321 | |
| 322 | fn write_file(path: &path::Path, data: &path::Path) -> Result<(), FixtureError> { |
| 323 | ensure_parent_dir(path)?; |
no test coverage detected