-
Notifications
You must be signed in to change notification settings - Fork 17.6k
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
os: Consider providing a VFS layer #5636
Comments
Comment 2 by tv@duh.org: Well, it's very much a skeleton at the moment, but I've started brainstorm-implementing a vfs type layer here: https://github.com/tvierling/go-vfs The basic planned structure is for two types of accessibility: an iterable-only, sequential-access interface (à la most archives), and a random-path-access filesystem that implements and extends the above with a full complement of operations (applicable to real filesystems, as well as virtual accessors that support path-type operations... say, URIs or anything else that can be structured as a path tree). Not too sure where I'm going with it yet, but I'm open to ideas thrown in as issues on the github repo. |
For interest's sake, the godoc VFS stuff has been put into a separate package: https://code.google.com/p/go/source/browse/?repo=tools#hg%2Fgodoc%2Fvfs |
Issue #8931 has been merged into this issue. |
@robpike and I worked out a design for a general file system interface for Go. I've posted a draft design doc, video, and code (links below). Instead of comments on this issue, please use the Reddit Q&A for comments on this specific draft design - Reddit threads and scales discussions better than GitHub does. Thanks! Video: https://golang.org/s/draft-iofs-video |
I've filed #41190 to propose accepting the draft design mentioned in my previous comment. |
The text was updated successfully, but these errors were encountered: