go/src/io
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
..
fs io/fs: document requirement that ReadDir return an unwrapped io.EOF 2022-05-17 01:50:34 +00:00
ioutil io/ioutil: provide an equivalent for the deprecated ReadDir 2022-04-19 16:19:27 +00:00
example_test.go io: add an Err field to LimitedReader 2022-05-04 20:06:32 +00:00
export_test.go io: unexport ErrBadWriteCount 2020-10-16 17:52:59 +00:00
io.go io: add an Err field to LimitedReader 2022-05-04 20:06:32 +00:00
io_test.go io: NopCloser forward WriterTo implementations if the reader supports it 2022-05-03 14:37:48 +00:00
multi.go io: add WriterTo to MultiReader 2022-03-07 23:22:26 +00:00
multi_test.go io: add WriterTo to MultiReader 2022-03-07 23:22:26 +00:00
pipe.go io: unexport internal methods 2021-08-19 09:11:02 +00:00
pipe_test.go