go/src/io/fs
Damien Neil aedf298daf io/fs: document requirement that ReadDir return an unwrapped io.EOF
This requirement ensures that ReadDir implementations are as compatible
as possible with "*os.File".ReadDir.

The testing/fstest package already tests for equality to io.EOF.

Updates #47062.
Fixes #47086.

Change-Id: I54f911a34e507a3db0abc4da55a19b7a50b35041
Reviewed-on: https://go-review.googlesource.com/c/go/+/333149
Reviewed-by: Michael Knyszek <mknyszek@google.com>
2022-05-17 01:50:34 +00:00
..
example_test.go io/fs: added an example for io/fs.WalkDir 2021-05-21 03:21:56 +00:00
fs.go io/fs: document requirement that ReadDir return an unwrapped io.EOF 2022-05-17 01:50:34 +00:00
fs_test.go io/fs: allow backslash in ValidPath, reject in os.DirFS.Open 2021-02-11 01:10:28 +00:00
glob.go io/fs: backslash is always a glob meta character 2021-02-09 01:22:45 +00:00
glob_test.go io/fs: backslash is always a glob meta character 2021-02-09 01:22:45 +00:00
readdir.go io/fs: implement FileInfoToDirEntry 2021-03-25 21:35:05 +00:00
readdir_test.go io/fs: implement FileInfoToDirEntry 2021-03-25 21:35:05 +00:00
readfile.go io/fs: document that caller can modify slice returned by ReadFile 2021-04-21 16:46:52 +00:00
readfile_test.go io/fs: add Sub 2020-12-04 16:49:30 +00:00
stat.go io/fs: add Stat and StatFS 2020-10-20 17:53:02 +00:00
stat_test.go io/fs: add Stat and StatFS 2020-10-20 17:53:02 +00:00
sub.go io/fs: minor corrections to Sub docs 2021-06-02 18:52:58 +00:00
sub_test.go io/fs: add Sub 2020-12-04 16:49:30 +00:00
walk.go all: remove trailing blank doc comment lines 2022-04-01 18:18:07 +00:00
walk_test.go io/fs, path/filepath: honor SkipDir on second WalkDirFunc error call 2022-03-28 22:03:07 +00:00