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.
- DiffEntry 
- A single entry in a diff, identified by a path relative to the diff base directory.
- DisplayDiff Opts 
- Options for Displaying aDiff.
- HashError 
- An error encountered while hashing a file to determine if it changed.
- MetadataError 
- An error encountered while accessing a Path’sPath::metadata.
- StripPrefix Error 
- An error encountered while removing a prefix from a Path.
- TraverseError 
- An error encountered while traversing the directory trees.
- WalkDirMetadata 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.