Expand description
Diff two directory trees based on their contents and format the resulting diff.
Construct a diff with Diff::new, which can be formatted or inspected.
Structs§
- Diff
- A diff of trees in terms of relative paths.
- Diff
Entry - A single entry in a diff, identified by a path relative to the diff base directory.
- Display
Diff Opts - Options for
Displaying aDiff. - Hash
Error - An error encountered while hashing a file to determine if it changed.
- Metadata
Error - An error encountered while accessing a
Path’sPath::metadata. - Strip
Prefix Error - An error encountered while removing a prefix from a
Path. - Traverse
Error - An error encountered while traversing the directory trees.
- Walk
DirMetadata Error - An error encountered while accessing a
Path’sPath::metadatawhile walking a directory tree.
Enums§
- DiffTag
- This is a local equivalent of the
similar::DiffTagenum. - Error
- An error encountered while diffing two paths.
Type Aliases§
- Result
- A
std::result::Resultproduced by diffing two paths.