diff options
| author | Adam Mitha <adam.mitha@gmail.com> | 2021-05-13 20:52:41 -0700 |
|---|---|---|
| committer | Emmanuel Odeke <emmanuel@orijtech.com> | 2021-05-21 03:21:56 +0000 |
| commit | 831573cd21e65c37b4e1bf5d44dc23b125084b7a (patch) | |
| tree | 9ca7bbf2049435c09e38414a2d4306abab39d1c0 /src/runtime/testdata | |
| parent | baa934d26dd6e201dcda0962dd51b0e5f6f69c1b (diff) | |
| download | go-831573cd21e65c37b4e1bf5d44dc23b125084b7a.tar.xz | |
io/fs: added an example for io/fs.WalkDir
The documentation currently does not show how to get an `FS` instance for the operating system's filesystem. This example demonstrates how to accomplish this using the `os` package.
Fixes #46083
Change-Id: I053111c12ab09ef13f0d04fcdff8a6ea0dccf379
Reviewed-on: https://go-review.googlesource.com/c/go/+/319989
Run-TryBot: Ian Lance Taylor <iant@golang.org>
TryBot-Result: Go Bot <gobot@golang.org>
Reviewed-by: Ian Lance Taylor <iant@golang.org>
Trust: Emmanuel Odeke <emmanuel@orijtech.com>
Diffstat (limited to 'src/runtime/testdata')
0 files changed, 0 insertions, 0 deletions
