diff options
| author | Russ Cox <rsc@golang.org> | 2020-07-06 11:26:26 -0400 |
|---|---|---|
| committer | Russ Cox <rsc@golang.org> | 2020-10-20 17:52:55 +0000 |
| commit | f098ccf04a33e2e4d2dffa2e90fe77ca8a0fcbb4 (patch) | |
| tree | a478de6a5075d156a273bda1614bd506e13664d3 /src/encoding/binary | |
| parent | b1f76f7a220a806d74bf55da374ea89467753e1f (diff) | |
| download | go-f098ccf04a33e2e4d2dffa2e90fe77ca8a0fcbb4.tar.xz | |
io/fs: add ReadFile and ReadFileFS
Add ReadFile helper function, ReadFileFS interface, and test.
Add ReadFile method to fstest.MapFS.
Add testing of ReadFile method to fstest.TestFS.
For #41190.
Change-Id: I5b6a41e2e582824e570463b698b635abaa436c32
Reviewed-on: https://go-review.googlesource.com/c/go/+/243912
Trust: Russ Cox <rsc@golang.org>
Reviewed-by: Rob Pike <r@golang.org>
Diffstat (limited to 'src/encoding/binary')
0 files changed, 0 insertions, 0 deletions
