-
Notifications
You must be signed in to change notification settings - Fork 18k
proposal: os: extend Root FS with interface io/fs.SubFS #72054
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
Related Issues (Emoji vote if this was helpful or unhelpful; more detailed feedback welcome in this discussion.) |
CC @neild |
This seems like an obvious and useful addition to |
I now notice that an
In the current state (without this proposal), those who want a For this reason I think that this proposal is a bad idea and should be rejected. |
(CL 655796 improves documentation about |
Alas, this does sound like a fatal problem. |
Based on the discussion above, this proposal seems like a likely decline. |
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: