Documentation ¶
Overview ¶
Package interdiff provides tools to compute the diff between source and diff files.
Index ¶
- func ApplyDiff(source string, diffFile *diff.FileDiff) (string, error)
- func InterDiff(oldDiff, newDiff io.Reader) (string, error)
- func MixedMode(oldSource, newSource io.Reader, oldFileDiff, newFileDiff *diff.FileDiff) (string, error)
- func MixedModePath(oldSourcePath, newSourcePath string, oldDiff, newDiff io.Reader) (string, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func InterDiff ¶
InterDiff computes the diff of a source file patched with oldDiff and the same source file patched with newDiff. oldDiff and newDiff should be in unified format.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.