Module libdiffsitter::diff
source · Expand description
Structs and other convenience methods for handling logical concepts pertaining to diffs, such as hunks.
Structs§
- A grouping of consecutive edit lines for a document
- The hunks that correspond to a document
- The edit information representing a line
- Information relevant for a middle snake calculation
- The frontiers for the Myers diff algorithm
- A builder struct for
RichHunks.
Enums§
- A generic type for diffs that source from one of two documents.
- Types of errors that come up when inserting an entry to a hunk
Traits§
- A difference engine provider
Functions§
- Compute the hunks corresponding to the minimum edit path between two documents.
Type Aliases§
- A hunk with metadata about which document it came from.