[darcs-devel] Use System.Directory.copyFile for file copying
Salvatore Insalaco
kirby81 at gmail.com
Fri Jul 20 00:33:29 PDT 2007
2007/7/20, Salvatore Insalaco <kirby81 at gmail.com>:
> 2007/7/19, Jason Dagit <dagit at codersbase.com>:
> > I'm trying to understand why System.Directory.copyFile would be
> > preferred. Isn't it implemented in Haskell too? Isn't bytestring (or
> > rather PackedString) IO heavily optimized and on par with C?
Mmmm... I spot an important difference between cloneFile and copyFile:
the first one doesn't copy permissions.
Maybe it's the reason of cloneFile existence?
More information about the darcs-devel
mailing list