MCPcopy Create free account
hub / github.com/atomicdotdev/atomic / clean

Method clean

atomic-repository/src/change_source/scan.rs:972–981  ·  view source on GitHub ↗
(
            &self,
            _path: &Path,
            working_bytes: &[u8],
        )

Source from the content-addressed store, hash-verified

970
971 impl ContentFilter for ExactFilter {
972 fn clean(
973 &self,
974 _path: &Path,
975 working_bytes: &[u8],
976 ) -> Result<FilteredContent, ContentFilterError> {
977 Ok(FilteredContent {
978 bytes: working_bytes.to_vec(),
979 warnings: Vec::new(),
980 })
981 }
982
983 fn smudge(
984 &self,

Callers 1

read_canonical_contentFunction · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected