Skip to content

root/handle: readdir wrappers? #110

@cyphar

Description

@cyphar

Rust's stdlib doesn't provide a way for users to construct a ReadDir iterator (nor DirEntry) so if someone wants to implement an iterator over subtrees using libpathrs they would need to manually use rustix and adopt the logic we have for iteration in src/utils/dir.rs.

I suspect these would be Rust-only helpers since exporting them to C would be quite ugly.

Metadata

Metadata

Assignees

No one assigned

    Labels

    api/handleRelated to the handle API.api/rootRelated to the Root API.api/rustRelated to the Rust API.

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions