ocaml-multicore / eio

Effects-based direct-style IO for multicore OCaml
Other
557 stars 70 forks source link

eio_linux: expose more functions in the Low_level module #705

Closed talex5 closed 7 months ago

talex5 commented 7 months ago

Add all the functions used by other parts of eio_linux (openat, mkdir, read_link, unlink, rename and pipe).

Tidied the API up a bit too:

The first commit adds the new functions to eio_linux.mli (to make the diff easier to see), then the second commit moves the whole module signature to low_level.mli (this ensures that the low-level API provided to users is the same one that is used internally, so we can't forget to expose things in future).