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

Method differs_from

atomic-cli/src/commands/git/watch.rs:160–162  ·  view source on GitHub ↗

Whether this state differs from `baseline` — i.e. whether a hint fired. Equal states (including the daemon's own prior writes) never trigger a reactive pass.

(&self, baseline: &Self)

Source from the content-addressed store, hash-verified

158 /// fired. Equal states (including the daemon's own prior writes)
159 /// never trigger a reactive pass.
160 pub(crate) fn differs_from(&self, baseline: &Self) -> bool {
161 self != baseline
162 }
163}
164
165impl Command for Watch {

Callers 2

reactive_passFunction · 0.80
run_watchFunction · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected