cow

Haskell cross-platform copy-on-write file copying


Keywords
System
License
MIT
Install
cabal install cow-0.1.0.0

Documentation

CoW (Copy-On-Write) Library For Haskell

cow provides two functions to provide platform-specific copy-on-write for files:

  • copyFile :: FilePath -> FilePath -> IO ()
  • copyFileOnlyIfCopyOnWrite :: FilePath -> FilePath -> IO (Either CopyError ())

cow supports copy-on-write semantics on Windows, Linux, and Darwin, where available.