ocaml-multicore / eio

Effects-based direct-style IO for multicore OCaml
Other
540 stars 66 forks source link

Add Eio.Path.{kind, is_file, is_directory} #623

Closed talex5 closed 11 months ago

talex5 commented 11 months ago

This is based on #599. I replaced exists with kind because I always have to look up what it means, and the PR's behaviour of "is a regular file or directory, or symlink to something that is" wasn't obvious to me.