mirror of https://github.com/golang/go.git
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> |
||
|---|---|---|
| .. | ||
| fs.go | ||
| fs_test.go | ||
| readfile.go | ||
| readfile_test.go | ||