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

Method diff

crates/firewheel-core/src/diff/collections.rs:41–45  ·  view source on GitHub ↗
(&self, baseline: &Self, path: PathBuilder, event_queue: &mut E)

Source from the content-addressed store, hash-verified

39
40impl<T: Diff, const LEN: usize> Diff for [T; LEN] {
41 fn diff<E: EventQueue>(&self, baseline: &Self, path: PathBuilder, event_queue: &mut E) {
42 for (i, item) in self.iter().enumerate() {
43 item.diff(&baseline[i], path.with(i as u32), event_queue);
44 }
45 }
46}
47
48impl<T: Patch, const LEN: usize> Patch for [T; LEN] {

Callers

nothing calls this directly

Calls 1

withMethod · 0.80

Tested by

no test coverage detected