obsidian_backups/data/modified_file.rs
1#[derive(Debug, Clone, PartialEq, Eq)]
2#[cfg_attr(feature = "serde", derive(serde::Serialize, serde::Deserialize))]
3pub struct ModifiedFile {
4 /// The path of the modified file.
5 pub path: String,
6 /// The content of the file before modification (if available).
7 pub content_before: Option<Vec<u8>>,
8 /// The content of the file after modification (if available).
9 pub content_after: Option<Vec<u8>>,
10}