diff --git a/src/mutations.rs b/src/mutations.rs index 87ed510..8c14787 100644 --- a/src/mutations.rs +++ b/src/mutations.rs @@ -2,7 +2,7 @@ use serde::{Deserialize, Serialize}; /// A single file change inferred from a sandbox diff: `hash_before` absent means the file /// was created, `hash_after` absent means it was deleted, both present means it was modified. -#[derive(Debug, Clone, Serialize, Deserialize)] +#[derive(Debug, Clone, PartialEq, Serialize, Deserialize)] pub struct FileMutation { pub file: String, pub hash_before: Option,