Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( StatusDifferent = &Status{Key: "different", Title: "The files are different"} StatusIdentical = &Status{Key: "identical", Title: "The files are identical"} StatusMissing = &Status{Key: "missing", Title: "File is not present in the source"} StatusNew = &Status{Key: "new", Title: "File is not present in the target"} StatusSkipped = &Status{Key: "skipped", Title: "File was ignored"} )
View Source
var AllExamples = []*Example{matching, added, removed, startChange, middleChange, endChange, noIntersect}
View Source
var AllStatuses = []*Status{StatusDifferent, StatusIdentical, StatusMissing, StatusNew, StatusSkipped}
Functions ¶
Types ¶
type Diff ¶
type Diffs ¶
type Diffs []*Diff
func FileLoader ¶
func FileLoader(mods []string, src file.Files, tgt filesystem.FileLoader, includeUnchanged bool, logger util.Logger) (Diffs, error)
type Edits ¶
type Edits []gotextdiff.TextEdit
type Example ¶
type Result ¶
Click to show internal directories.
Click to hide internal directories.