(&self, _path: &Path, bytes: &[u8])
| 17 | |
| 18 | impl ContentFilter for ExactFilter { |
| 19 | fn clean(&self, _path: &Path, bytes: &[u8]) -> Result<FilteredContent, ContentFilterError> { |
| 20 | Ok(FilteredContent { |
| 21 | bytes: bytes.to_vec(), |
| 22 | warnings: Vec::new(), |
| 23 | }) |
| 24 | } |
| 25 | |
| 26 | fn smudge(&self, _path: &Path, bytes: &[u8]) -> Result<FilteredContent, ContentFilterError> { |
| 27 | Ok(FilteredContent { |
nothing calls this directly
no outgoing calls
no test coverage detected