A Git-based backup library for Rust applications. Originally designed for the Obsidian Minecraft Server Panel, but generic enough to be used in any project requiring file backup management.
#[derive(Debug, Clone, PartialEq, Eq)]#[cfg_attr(feature ="serde",derive(serde::Serialize, serde::Deserialize))]pubstructModifiedFile{/// The path of the modified file.
pubpath: String,
/// The content of the file before modification (if available).
pubcontent_before:Option<Vec<u8>>,
/// The content of the file after modification (if available).
pubcontent_after:Option<Vec<u8>>,
}