provide param names in DiffForEachFileCallback

Without a parameter name, the float64 param is pretty inscrutable.
This commit is contained in:
Josh Bleecher Snyder 2019-08-27 10:23:37 -07:00
parent 37e5b53f74
commit 79b2cb6ca1
1 changed files with 1 additions and 1 deletions

View File

@ -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