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

Method clean

atomic-repository/src/change_source/performance.rs:19–24  ·  view source on GitHub ↗
(&self, _path: &Path, bytes: &[u8])

Source from the content-addressed store, hash-verified

17
18impl 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 {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected