Skip to content

bindings: provide nicer "just use an fd/file" API #263

@cyphar

Description

@cyphar

At the moment, you need to convert any file objects into Handle in both of our bindings, which (while providing nice type-safety) makes it a little ugly to do basic stuff with libpathrs. Ideally we would have something akin to HandleRef/RootRef to avoid needing clone as well.

Metadata

Metadata

Assignees

No one assigned

    Labels

    api/handleRelated to the handle API.api/rootRelated to the Root API.bindings/goRelated to the Go bindings.bindings/pythonRelated to the Python bindings.

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions