MTP tools & Centralizing

This commit is contained in:
Alex Emmet 2026-07-03 06:14:01 +02:00
commit 89e939d50f
4 changed files with 36 additions and 22 deletions

10
src/mutations.rs Normal file
View file

@ -0,0 +1,10 @@
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)]
pub struct FileMutation {
pub file: String,
pub hash_before: Option<String>,
pub hash_after: Option<String>,
}