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§

Formats the value using the given formatter. Read more
Returns the “default value” for a type. Read more
Formats the value using the given formatter. Read more

Auto Trait Implementations§

Blanket Implementations§

Gets the TypeId of self. Read more
Immutably borrows from an owned value. Read more
Mutably borrows from an owned value. Read more

Returns the argument unchanged.

Instruments this type with the provided Span, returning an Instrumented wrapper. Read more
Instruments this type with the current Span, returning an Instrumented wrapper. Read more

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

Should always be Self
Converts the given value to a String. Read more
The type returned in the event of a conversion error.
Performs the conversion.
The type returned in the event of a conversion error.
Performs the conversion.
Attaches the provided Subscriber to this type, returning a WithDispatch wrapper. Read more
Attaches the current default Subscriber to this type, returning a WithDispatch wrapper. Read more