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

Method clean

atomic-repository/src/repository/staging.rs:341–351  ·  view source on GitHub ↗
(
        &self,
        _path: &Path,
        bytes: &[u8],
    )

Source from the content-addressed store, hash-verified

339
340impl 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,

Callers 8

observe_worktreeFunction · 0.45
write_repository_entryFunction · 0.45
record_with_lifecycleMethod · 0.45
plan_file_movesFunction · 0.45
treeFunction · 0.45
read_fileFunction · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected