MCPcopy Create free account
hub / github.com/BillyDM/Firewheel / patch

Method patch

crates/firewheel-core/src/diff/leaf.rs:23–28  ·  view source on GitHub ↗
(data: &ParamData, _path: &[u32])

Source from the content-addressed store, hash-verified

21}
22
23impl Patch for () {
24 type Patch = ();
25
26 fn patch(data: &ParamData, _path: &[u32]) -> Result<Self::Patch, PatchError> {
27 match data {
28 ParamData::None => Ok(()),
29 _ => Err(PatchError::InvalidData),
30 }
31 }

Callers

nothing calls this directly

Calls 3

NotifyIDClass · 0.85
try_intoMethod · 0.80
cloneMethod · 0.45

Tested by

no test coverage detected