io/fs: no examples for how to use it with the operating system #46083
Labels
Documentation
Issues describing a change to documentation.
FrozenDueToAge
help wanted
NeedsFix
The path to resolution is known, but the work has not been done.
I needed to walk a directory, so I pulled up the
io/fs.WalkDir
docs, but there was nothing telling me how to get anFS
instance for the operating system's filesystem. The only mention ofos.DirFS
is infs.Sub
, and I only found it because I had a hunch to searchos.
.The text was updated successfully, but these errors were encountered: