Skip to content

Conversation

@thejpster
Copy link
Member

Adds a new API which lets you open files by their long file name.

Does not (currently) let you open directories in this manner, nor does it let you create files with a long file name.

Builds on #216

Because now it can delete directories and files.
) Methods on File and Directory now point you to the underlying
VolumeManager method.

) VolumeManager methods have additional documentation.
The if block diverged, so the else block can be outdented.
Opening existing directories can be added later.

Notably this does not require holding the entire LFN on the stack at
once - we match the UTF-8 string slice we're given against the USC-2
words we pull off the disk, in reverse order.

The shell example now lets you `cat` and `hexdump` files with long
names.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants