Struct ostree_ext::diff::FileTreeDiff[][src]

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

Performs the conversion.

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

Performs the conversion.

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.