path-io

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

https://github.com/mrkkrp/path-io

Version on this page:0.3.1
LTS Haskell 22.18:1.8.1@rev:1
Stackage Nightly 2024-04-22:1.8.1@rev:1
Latest on Hackage:1.8.1@rev:1

See all snapshots path-io appears in

BSD-3-Clause licensed and maintained by Mark Karpov
This version can be pinned in stack with:path-io-0.3.1@sha256:96a55434cac09485a8d7935022401756d50a4adb8948e79bd62b6270dcd88a29,2972

Module documentation for 0.3.1

Used by 1 package in nightly-2016-02-01(full list with versions):

Path IO

License BSD3 Hackage Stackage Nightly Build 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.

License

Copyright © 2016 Mark Karpov

Distributed under BSD 3 clause license.

Changes

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.