dbuenzli / bos

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

Start a Bos.OS.Path.copy implementation #73

Closed ghost closed 5 years ago

ghost commented 6 years ago

This most certainly doesn't follow your API discipline, but it's a start :)

dbuenzli commented 6 years ago

I might consider as a first measure if you make it portable (cf. robocopy). But while you are there why not make an OCaml implementation ?

dbuenzli commented 6 years ago

Also behaviour on symlinks should be clarified.

ghost commented 6 years ago

What do you mean by making it "portable (cf. robocopy)". Wikipedia says robocopy is not even open source.

Would it be a good idea to have the program perform the copy instead of the OS? Given that it's OS bindings.

dbuenzli commented 6 years ago

What do you mean by making it "portable (cf. robocopy)".

Make it work on Windows®

dbuenzli commented 5 years ago

I guess @ghost won't make it work on windows.