Skip to main content

has_changed

Function has_changed 

Source
pub fn has_changed(current_hash: &str, stored_hash: Option<&str>) -> bool
Expand description

Check if an entity has changed since last export.

Returns true if:

  • There is no stored hash (never exported)
  • The current hash differs from the stored hash

Returns false if the hashes match (no change).