proposal: os: extend Root FS with interface io/fs.SubFS #72054
Labels
LibraryProposal
Issues describing a requested change to the Go standard library or x/ libraries, but not to a tool
Proposal
Milestone
Proposal Details
Extend type
os.Root
by implementing interfaceio/fs.SubFS
.The implementation is almost trivial as
os.Root
already has anOpenRoot
method:The documentation of
os.Root.FS()
will be extend to link tofs.SubFS
.The text was updated successfully, but these errors were encountered: