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
VFS improvements #93
Comments
We also need the ability to create symlinks (symbolic links) for both files and directories. These types should basically just be simple wrappers around FileRef and DirRef. |
I don't understand parts of the Path crate, especially how canonicalize works. In my mind, canonicalize would have a similar fn signature as Also, there are two types of canonicalization/verification for paths. One operates purely at the String level and does not access the filesystem. You can think of it as Path reduction/simplification. The other kind is "full canonicalization" that actually checks whether the files and directories really exist. A full canonicalization would then transform the Path's inner String into an absolute path. |
✔️ |
✔️ |
✔️ |
✔️ |
✔️ |
✔️ |
* Using filesystem to manage crate files. Removed kludgy usage of bootloader-provided ModuleAreas. * Clarifies personality loading, a CrateNamespace can only load crate files from its directory. * Partially addresses issue #93
✔️
|
Thanks to @christinewang5, commit 5bc3fa1 addresses the problems of absolute path traversal and root directory naming. |
* Using filesystem to manage crate files. Removed kludgy usage of bootloader-provided ModuleAreas. * Clarifies personality loading, a CrateNamespace can only load crate files from its directory. * Partially addresses issue #93
* Using filesystem to manage crate files. Removed kludgy usage of bootloader-provided ModuleAreas. * Clarifies personality loading, a CrateNamespace can only load crate files from its directory. * Partially addresses issue #93
✔️
Thels
app has redundant code that has been copy-pasted for two identical cases: when the path is specified, and when there is no path specified. Condense those into one case.✔️
All file creation should accept a&DirRef
rather than a WeakDirRef. This eliminates the potential error of not being able to upgrade the weak ref to the parent.✔️
Don't use thereturn
keyword at the end of a function, that violates Rust's style conventions.✔️
TaskFiles are never actually created. Mmi files are pretty worthless at the moment.The text was updated successfully, but these errors were encountered: