bindings: provide nicer "just use an fd/file" API
Nessuno ha ancora preso questa issue.
Valutazione
- Difficoltà
- 4/5
- Tempo stimato
- 3-5 giorni
- Idoneità per principianti
- 38/100
Direzione di ricerca
The issue identifies both bindings but gives no file or test paths. Start by locating the binding APIs that convert file objects into Handle and the existing HandleRef/RootRef types; check how both bindings expose those conversions. Done means callers can use file objects directly in both bindings without cloning, with tests covering the new API.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Descrizione
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.
- Lingua principale
- Rust
- Stelle
- 146
- Fork
- 12
- Merge medio
- 4g 18h
- PR unite (30g)
- 1
Preparare l'ambiente
- Include un Dockerfile o un file Docker Compose
- Nessun modello di pull request
- Nessuna guida per i contributori
Come iniziare
- Leggi tutta la issue e poi la guida ai contributi del progetto.
- Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
- Fai un fork del repository e lavora su un branch.
- Apri una pull request che faccia riferimento al numero della issue.
Altre issue di cyphar/libpathrs
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 68/100
-
rust tests
Difficoltà 4/5 3-5 giorni Idoneità per principianti 38/100
-
api/procfs linux/upstream
Difficoltà 4/5 3-5 giorni Idoneità per principianti 44/100
-
api/cffi bindings/go bindings/python ideas welcome
Difficoltà 5/5 Più di una settimana Idoneità per principianti 25/100
-
linux/upstream
Difficoltà 5/5 Più di una settimana Idoneità per principianti 35/100
Tutte le issue di cyphar/libpathrs
Issue simili
-
area::tern difficulty::easy good first issue kind::cleanup triage::ready
Difficoltà 1/5 1-3 ore Idoneità per principianti 88/100
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 76/100
eclipse-zenoh/zenoh#2842 · 2 commenti ·
I maintainer di solito rispondono entro 1 giorno
-
中文字符导致软件崩溃Apertabug
Difficoltà 2/5 1-3 ore Idoneità per principianti 62/100
Y-ASLant/ElegantClipboard#172 ·
-
bug documentation
Difficoltà 2/5 1-3 ore Idoneità per principianti 78/100
SaboLabs/soroban-devkit#341 ·
I maintainer di solito rispondono entro 1 giorno
-
agent:sonnet-high enhancement priority: P2 ready-for-agent
Difficoltà 2/5 1-3 ore Idoneità per principianti 82/100
shep-pm/shep-kelpie#652 ·
I maintainer di solito rispondono entro 1 giorno