-
Notifications
You must be signed in to change notification settings - Fork 162
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
Tracking Issue: high-level FS abstraction #747
Comments
My thoughts regarding a Path abstractionIn the standard library, a Path is a wrapper around
Additionally, for simplicity, I think it will be totally sufficient to only accept absolute paths (the leading |
Can you please give me your thoughts about it? @nicholasbishop |
I think it's looking good. I'm sure we'll discover some things to tweak here and there given that it's a large new API, but I wouldn't have any objection to releasing it in it's current form. |
@nicholasbishop can you please take a look and then close this issue? If everything is good, do we want to ship a new release soon? |
I'll just quickly mention here that any fs abstractions here should be aware of broken firmware/drivers and should probably employ some quirks to work around them:
Footnotes |
Dear lord, I always asked myself when it's the first time that we have to cope with broken firmware in this crate 😁 Thanks for the pointers!
I think that shouldn't be a problem in our case as we always pass in a correctly sized buffer. |
I close this issue. The initial major work is finished. For further adjustments, we can have dedicated issues. |
We want a high-level FS abstraction to access UEFI volumes based on the
(Simple)FileSystemProtocol
. This is a large portion of work and split into multiple tasks/PRs tracked in this issue:fs
module - Introducing a high-level FS abstraction #472&str
as path typestd::fs
&str
as well asPathType
to all functions-> param is something like:
Into<PathType>
fs::remove_dir_all
method that is missing in the initial merge request - fs: implement remove_dir_all #799The text was updated successfully, but these errors were encountered: