(path: &Path, needle: &str)
| 397 | } |
| 398 | |
| 399 | fn file_contains(path: &Path, needle: &str) -> bool { |
| 400 | std::fs::read_to_string(path) |
| 401 | .map(|content| content.contains(needle)) |
| 402 | .unwrap_or(false) |
| 403 | } |
| 404 | |
| 405 | #[derive(Debug, Clone, PartialEq, Eq, Serialize, Deserialize)] |
| 406 | pub struct VerificationReport { |
no test coverage detected