(&self, path: &str)
| 394 | /// Check if a path should be included based on the configured paths filter. |
| 395 | #[must_use] |
| 396 | pub fn should_include(&self, path: &str) -> bool { |
| 397 | if self.all || self.paths.is_empty() { |
| 398 | return true; |
| 399 | } |
| 400 | self.paths |
| 401 | .iter() |
| 402 | .any(|p| path == p || path.starts_with(&format!("{}/", p))) |
| 403 | } |
| 404 | |
| 405 | /// Convert to core recording options. |
| 406 | #[must_use] |
no test coverage detected