summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorlhchavez <[email protected]>2020-02-12 17:00:02 -0800
committerGitHub <[email protected]>2020-02-12 17:00:02 -0800
commit917d8dcb9efc5dc506123a7ba4f862340d69ce84 (patch)
treecd157dea9ee79fae6bcd1501f3a45d2e09ee0e6c
parentaa802a90db35ddbecd8323910595de5bac040ba0 (diff)
parent79b2cb6ca1aae4a9f442291fd88e37ef9b52ff2a (diff)
Merge pull request #524 from josharian/doc-params
provide param names in DiffForEachFileCallback
-rw-r--r--diff.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/diff.go b/diff.go
index b025edd..a5d1a61 100644
--- a/diff.go
+++ b/diff.go
@@ -284,7 +284,7 @@ type diffForEachData struct {
Error error
}
-type DiffForEachFileCallback func(DiffDelta, float64) (DiffForEachHunkCallback, error)
+type DiffForEachFileCallback func(delta DiffDelta, progress float64) (DiffForEachHunkCallback, error)
type DiffDetail int