Skip to content

Releases: hasufell/hpath

0.10.0

04 Jan 19:18
Compare
Choose a tag to compare

Split hpath into 3 packages:

  • hpath: support for well-typed paths
  • hpath-filepath: ByteString based filepath manipulation (can be used without hpath)
  • hpath-io: high-level file API (recursive copy, writeFile etc.) using hpath

Some other changes made it in as well, such as:

  • using streamly for HPath.IO.copyFile

0.9.2

12 Apr 00:37
Compare
Choose a tag to compare
* fix build with ghc-7.6
* raise required bytestring version
* Tighten base bound to prevent building before GHC 7.6 (by George Wilson)

0.9.1

11 Apr 21:04
Compare
Choose a tag to compare
* fix build with ghc-7.8 and 7.10

0.9.0

10 Apr 23:22
Compare
Choose a tag to compare
* don't force "Path Abs" anymore in IO module, abstract more over Path types
* add 'toAbs'

0.8.1

06 Apr 15:32
Compare
Choose a tag to compare
* add 'readFile', 'readFileEOF', 'writeFile' and 'appendFile'

0.8.0

05 Jun 16:03
Compare
Choose a tag to compare
  • copyDirRecursiveOverwrite, copyFileOverwrite, easyCopyOverwrite and moveFileOverwrite have been removed, instead use the versions without the *Overwrite suffix and pass in Strict (for default behavior) or Overwrite as the CopyMode argument
  • introduced a new RecursiveErrorMode type to allow controlling recursive behavior of copyDirRecursive (use FailEarly for default behavior)
  • createRegularFile and createDir now take FileMode as a parameter (also see newFilePerms and newDirPerms)
  • various documentation fixes
  • improved reliability of tests

0.7.3

30 May 15:23
Compare
Choose a tag to compare
  • don't expose HPath.Internal

0.7.2

29 May 15:48
Compare
Choose a tag to compare
  • fix tests, so they work with the sdist tarball too
  • added the following function to HPath.IO: createSymlink

0.7.1

24 May 13:49
Compare
Choose a tag to compare
  • various cleanups and documentation improvements
  • added the following functions to System.Posix.FilePath: splitSearchPath, getSearchPath, stripExtension, makeRelative, makeValid

0.7.0

22 May 22:57
Compare
Choose a tag to compare
  • use 'sendfile' from 'simple-sendfile' in _copyFile and do read/write as a fallback only
  • add isFileName, hasParentDir, hiddenFile to System.Posix.FilePath
  • add our own openFd version for more control
  • small documentation improvements
  • add a getDirectoryContents' version that works on Fd
  • lift version constraints in benchmark
  • remove fpToString and userStringToFP, use Data.ByteString.UTF8 directly instead