provide param names in DiffForEachFileCallback
Without a parameter name, the float64 param is pretty inscrutable.
This commit is contained in:
parent
37e5b53f74
commit
79b2cb6ca1
2
diff.go
2
diff.go
|
@ -284,7 +284,7 @@ type diffForEachData struct {
|
||||||
Error error
|
Error error
|
||||||
}
|
}
|
||||||
|
|
||||||
type DiffForEachFileCallback func(DiffDelta, float64) (DiffForEachHunkCallback, error)
|
type DiffForEachFileCallback func(delta DiffDelta, progress float64) (DiffForEachHunkCallback, error)
|
||||||
|
|
||||||
type DiffDetail int
|
type DiffDetail int
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue