]> Cypherpunks repositories - gostls13.git/commit
io/fs: fix reference to WalkFunc
authorRuss Cox <rsc@golang.org>
Mon, 9 Nov 2020 14:25:05 +0000 (09:25 -0500)
committerRuss Cox <rsc@golang.org>
Wed, 11 Nov 2020 14:29:34 +0000 (14:29 +0000)
commitc906608406f22087e9bc3ee7616c3f1fbba2503b
tree8f4c7dd8f370d1fc48ecf14d1b8733f677a1d8b8
parentf2e186b87754d3f84a692876501c923eb58f2ee4
io/fs: fix reference to WalkFunc

The comment explains differences between WalkDirFunc and WalkFunc,
but when this code moved out of path/filepath, we forgot to change
the reference to be filepath.WalkFunc. Fix that.

(The text should not be deleted, because path/filepath does not
contain this type - WalkDirFunc - nor this text anymore.)

Pointed out by Carl Johnson on CL 243916 post-submit.

For #41190.

Change-Id: I44c64d0b7e60cd6d3694cfd6d0b95468ec4612fe
Reviewed-on: https://go-review.googlesource.com/c/go/+/268417
Trust: Russ Cox <rsc@golang.org>
Reviewed-by: Dmitri Shuralyov <dmitshur@golang.org>
src/io/fs/walk.go