]> Cypherpunks.ru repositories - gostls13.git/commit
filepath: updates doc to give case where WalkFunc info arg may be nil
authorJack <jackxbritton@gmail.com>
Wed, 18 Jul 2018 19:12:14 +0000 (19:12 +0000)
committerIan Lance Taylor <iant@golang.org>
Wed, 18 Jul 2018 19:53:37 +0000 (19:53 +0000)
commit4016de0daffd46087e9ee9dc994e39c257191b40
tree2a23386fd802e5c39ac269c02d1120ec68098540
parentd2f663c4f241b2f1318f5126c206436afaefdadd
filepath: updates doc to give case where WalkFunc info arg may be nil

If a filepath.WalkFunc is called with an non-nil err argument, it's possible
that the info argument will be nil. The comment above filepath.WalkFunc now
reflects this.

Fixes #26425

Change-Id: Ib9963b3344587d2993f1698c5a801f2d1286856b
GitHub-Last-Rev: 553fc266b570d0c47efe12b3b670f88112e3b334
GitHub-Pull-Request: golang/go#26435
Reviewed-on: https://go-review.googlesource.com/124635
Reviewed-by: Ian Lance Taylor <iant@golang.org>
src/path/filepath/path.go