(&self, path: &str)
| 500 | /// Check if a path should be included based on the configured paths filter. |
| 501 | #[must_use] |
| 502 | pub fn should_include(&self, path: &str) -> bool { |
| 503 | if self.all || self.paths.is_empty() { |
| 504 | return true; |
| 505 | } |
| 506 | self.paths |
| 507 | .iter() |
| 508 | .any(|p| path == p || path.starts_with(&format!("{}/", p))) |
| 509 | } |
| 510 | |
| 511 | /// Convert to core recording options. |
| 512 | #[must_use] |
no test coverage detected