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

Method smudge

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

Source from the content-addressed store, hash-verified

351 }
352
353 fn smudge(
354 &self,
355 _path: &Path,
356 bytes: &[u8],
357 ) -> Result<crate::content_filter::FilteredContent, crate::content_filter::ContentFilterError>
358 {
359 Ok(crate::content_filter::FilteredContent {
360 bytes: bytes.to_vec(),
361 warnings: Vec::new(),
362 })
363 }
364}
365
366/// Observe the five staging layers for one working copy.

Callers 5

write_repository_entryFunction · 0.45
write_treeFunction · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected