Skip to content
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

Review UX when interacting with io.fs #101

Open
pjbgf opened this issue Jan 10, 2025 · 1 comment
Open

Review UX when interacting with io.fs #101

pjbgf opened this issue Jan 10, 2025 · 1 comment
Labels
enhancement New feature or request
Milestone

Comments

@pjbgf
Copy link
Member

pjbgf commented Jan 10, 2025

For next major release, the user experience when interacting between go-billy and io.FS should be more seamless.
Amongst other things, go-billy's interfaces could be based of io.FSs (e.g. ReadDirFile, ReadDirFS, etc).

@pjbgf
Copy link
Member Author

pjbgf commented Jan 14, 2025

@infogulch thanks for raising the point on os.Root which is in the upcoming Go 1.24. The behaviour below would be compatible with ChrootOS but not BoundOS:

Methods on Root will follow symbolic links, but symbolic links may not reference a location outside the root. Symbolic links must not be absolute.

Support to this would most certainly be on go-billy v6 or above.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant