Crate diff_trees

Crate diff_trees 

Source
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.
DisplayDiffOpts
Options for Displaying a Diff.
HashError
An error encountered while hashing a file to determine if it changed.
MetadataError
An error encountered while accessing a Path’s Path::metadata.
StripPrefixError
An error encountered while removing a prefix from a Path.
TraverseError
An error encountered while traversing the directory trees.
WalkDirMetadataError
An error encountered while accessing a Path’s Path::metadata while walking a directory tree.

Enums§

DiffTag
This is a local equivalent of the similar::DiffTag enum.
Error
An error encountered while diffing two paths.

Type Aliases§

Result
A std::result::Result produced by diffing two paths.