dbuenzli / bos

Basic OS interaction for OCaml
http://erratique.ch/software/bos
ISC License
63 stars 16 forks source link

Add OS.Path.realpath #49

Open dbuenzli opened 8 years ago

dbuenzli commented 8 years ago

That binds to realpath(3) on POSIX. On Windows @bobatkey suggests using GetFullPathName.

dbuenzli commented 4 years ago

Here's an implementation that could fit modulo windows testing.

dbuenzli commented 2 years ago

realpath was added to Unix in OCaml 4.13.