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:
mkdir_beneath is now just mkdir.
statx_confined is now just statx and works with empty paths too.
open_dir is gone; the single user now calls openat directly.
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).
Add all the functions used by other parts of eio_linux (
openat
,mkdir
,read_link
,unlink
,rename
andpipe
).Tidied the API up a bit too:
mkdir_beneath
is now justmkdir
.statx_confined
is now juststatx
and works with empty paths too.open_dir
is gone; the single user now callsopenat
directly.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 tolow_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).