(
&self,
_path: &Path,
bytes: &[u8],
)
| 339 | |
| 340 | impl crate::content_filter::ContentFilter for PassthroughFilter { |
| 341 | fn clean( |
| 342 | &self, |
| 343 | _path: &Path, |
| 344 | bytes: &[u8], |
| 345 | ) -> Result<crate::content_filter::FilteredContent, crate::content_filter::ContentFilterError> |
| 346 | { |
| 347 | Ok(crate::content_filter::FilteredContent { |
| 348 | bytes: bytes.to_vec(), |
| 349 | warnings: Vec::new(), |
| 350 | }) |
| 351 | } |
| 352 | |
| 353 | fn smudge( |
| 354 | &self, |
no outgoing calls
no test coverage detected