pub struct FileTreeDiff {
pub subdir: Option<String>,
pub added_files: FileSet,
pub added_dirs: FileSet,
pub removed_files: FileSet,
pub removed_dirs: FileSet,
pub changed_files: FileSet,
pub changed_dirs: FileSet,
}
Expand description
Diff between two ostree commits.
Fields§
§subdir: Option<String>
The prefix passed for diffing, e.g. /usr
added_files: FileSet
Files that are new in an existing directory
added_dirs: FileSet
New directories
removed_files: FileSet
Files removed
removed_dirs: FileSet
Directories removed (recursively)
changed_files: FileSet
Files that changed (in any way, metadata or content)
changed_dirs: FileSet
Directories that changed mode/permissions
Trait Implementations§
Source§impl Debug for FileTreeDiff
impl Debug for FileTreeDiff
Source§impl Default for FileTreeDiff
impl Default for FileTreeDiff
Source§fn default() -> FileTreeDiff
fn default() -> FileTreeDiff
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for FileTreeDiff
impl RefUnwindSafe for FileTreeDiff
impl Send for FileTreeDiff
impl Sync for FileTreeDiff
impl Unpin for FileTreeDiff
impl UnwindSafe for FileTreeDiff
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more