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

Fix the VFS::ls and VFS::ls_recursive APIs #16

Merged
merged 1 commit into from
Mar 20, 2024

Conversation

davisp
Copy link
Collaborator

@davisp davisp commented Mar 20, 2024

These weren't very Rusty on my first attempt. After some discussion with Ryan, he reminded me that FnMut is a thing and it turns out is actually usable as an argument being passed to a C API. Its a bit nutty on the implementation, but it seems to work just fine.

These weren't very Rusty on my first attempt. After some discussion with
Ryan, he reminded me that FnMut is a thing and it turns out is actually
usable as an argument being passed to a C API. Its a bit nutty on the
implementation, but it seems to work just fine.
Copy link

This pull request has been linked to Shortcut Story #43456: Wrap the VFS APIs.

@davisp davisp merged commit f0e8c04 into main Mar 20, 2024
1 check passed
@davisp davisp deleted the pd/sc-43456/rustify-vfs-ls branch March 20, 2024 22:40
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.

1 participant