Module unified_diff

Source
Expand description

Formatting support for Git’s diff format.

Structs§

HunkHeader
Meta data which precedes a Hunks content.
Writer
An IO Writer with color printing to the terminal.

Enums§

Error
FileHeader
The kind of FileDiff Header which can be used to print the FileDiff information which precedes Hunks.

Traits§

Decode
Diff-related types that can be decoded from the unified diff format.
Encode
Diff-related types that can be encoded intro the unified diff format.