(content: &str)
| 251 | |
| 252 | #[cfg(test)] |
| 253 | pub fn parse(content: &str) -> Result<Self, Box<dyn std::error::Error>> { |
| 254 | Self::from_str_with_validation(content) |
| 255 | } |
| 256 | |
| 257 | fn validate(&self) -> Result<(), Box<dyn std::error::Error>> { |
| 258 | for pattern in &self.dlp.patterns { |
no outgoing calls