diff options
| author | Russ Cox <rsc@golang.org> | 2020-07-06 11:27:38 -0400 |
|---|---|---|
| committer | Russ Cox <rsc@golang.org> | 2020-10-20 17:52:48 +0000 |
| commit | b1f76f7a220a806d74bf55da374ea89467753e1f (patch) | |
| tree | e207656767e10cacca21283cb45991306474d40d /src/testing | |
| parent | 90c924ff88a8b5ab65538ccc16d160922b1b4003 (diff) | |
| download | go-b1f76f7a220a806d74bf55da374ea89467753e1f.tar.xz | |
os: add DirFS
It will inevitably be important to be able to pass an operating system
directory to code written to expect an fs.FS.
os.DirFS provides the conversion.
For #41190.
Change-Id: Id1a8fcbe4c7a30de2c47dea0504e9481a88b1b39
Reviewed-on: https://go-review.googlesource.com/c/go/+/243911
Trust: Russ Cox <rsc@golang.org>
Reviewed-by: Rob Pike <r@golang.org>
Diffstat (limited to 'src/testing')
0 files changed, 0 insertions, 0 deletions
