Interface to ‘directory’ package for users of ‘path’

Latest on Hackage:[email protected]:2

See all snapshots path-io appears in

BSD-3-Clause licensed and maintained by Mark Karpov

Module documentation for 1.1.0

This version can be pinned in stack with:[email protected]:b88dc48191558c2e048f5f8d585dcd745be521e68dbf4911946de20571d189bf,3432

Path IO

License BSD3 Hackage Stackage Nightly Stackage LTS Build Status Coverage Status

This package provides interface to directory package for users of Chris Done’s path. It also implements some missing stuff like recursive scanning and copying of directories.

Consult Haddocks for usage, which should be trivial.


Copyright © 2016 Mark Karpov

Distributed under BSD 3 clause license.


Path IO 1.1.0

  • Fixed bug in copyDirRecur when it was unable to full copy read-only directories.

  • Added copyDirRecur' function that works just like copyDirRecur, but does not preserve permissions.

Path IO 1.0.1

  • Fixed bug in copyDirRecur for non-existing destination paths when directory to copy does not contain sub-directories.

  • Made copyDirRecur try to copy permissions for destination directory too (previously it only tried to copy them for sub-directories).

Path IO 1.0.0

  • Changed signature of getAppUserDataDir, so it takes String as the first argument.

  • Removed deprecated forgivingAbsence' function.

  • Made findFile lazier, it stops searching as soon as a file is found.

  • Added some tests.

Path IO 0.3.1

  • Introduced synonym for forgivingAbsence'ignoringAbsence. forgivingAbsence' is deprecated now, but it’s still there.

  • Added a handy shortcut ensureDir that is defined as ensureDir = createDirIfMissing True.

  • Made getHomeDir and getTempDir more robust when they are influenced by values of environment variables.

Path IO 0.3.0

  • Added forgivingAbsence, resolveFile, and resolveDir functions, so the package now provides all functionality that Path.IO module in Stack has.

  • Added closed type family RelPath, makeRelative, and makeRelativeToCurrentDir functions.

  • Fixed signature of getAppUserDataDir.

Path IO 0.2.0

  • Added functions from temporary: withTempFile, withTempDir, withSystemTempFile, withSystemTempDir, openTempFile, openBinaryTempFile, and createTempDir. temporary is a lightweight and ubiquitous package, so depending on it should be OK.

Path IO 0.1.1

  • Fixed type signatures of renameFile and copyFile.

Path IO 0.1.0

  • Initial release.