Merge pull request #524 from josharian/doc-params

provide param names in DiffForEachFileCallback
This commit is contained in:
lhchavez 2020-02-12 17:00:02 -08:00 committed by GitHub
commit 917d8dcb9e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
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