Skip to main content

has_changed

Function has_changed 

Source
pub fn has_changed(last_hash: &AtomicU64) -> bool
Expand description

Checks whether the tools-relevant config has changed since the last snapshot. If it has, atomically updates the stored hash and returns true. The first call after initialization always returns false (the hash is seeded in the constructor).