(&self, path: &str)
| 414 | /// Check if a path should be included based on the configured paths filter. |
| 415 | #[must_use] |
| 416 | pub fn should_include(&self, path: &str) -> bool { |
| 417 | if self.all || self.paths.is_empty() { |
| 418 | return true; |
| 419 | } |
| 420 | self.paths |
| 421 | .iter() |
| 422 | .any(|p| path == p || path.starts_with(&format!("{}/", p))) |
| 423 | } |
| 424 | |
| 425 | /// Convert to core recording options. |
| 426 | #[must_use] |
no test coverage detected