This package provides an interface to
directory package for
users of Chris Done's
also implements some missing stuff like recursive scanning and copying of
directories, working with temporary files/directories, etc.
Consult Haddocks for usage, which should be trivial.
Copyright © 2016–2017 Mark Karpov
Distributed under BSD 3 clause license.
Path IO 1.3.2
Reduce a number of
(MonadIO m, MonadThrow m)constraints to just
Path IO 1.3.1
listDirRecurfaster for deep directory trees.
Path IO 1.3.0
Change the default behavior of recursive traversal APIs to not follow symbolic links. The change affects the following functions:
isSymlinkwhich allows to test whether a path is a symbolic link.
Move the type functions
AnyPathtype class (previously they were standalone closed type families, now they are associated types of
Improved the documentation and metadata.
Path IO 1.2.3
Path IO 1.2.2
Fixed a bug in
setModificationTimefunction that previously called
Added notes to all pieces of API that are conditional (some functions are only available if
directory-220.127.116.11or later is used, now it's mentioned for every such function explicitely).
Path IO 1.2.1
getXdgDir. Only available of
directory-18.104.22.168or later is used.
Various cosmetic improvements.
Path IO 1.2.0
walkDirfunction to traverse a directory tree with a handler.
walkDirAccumfunction which is like
walkDirbut also accepts an output writer and returns the accumulated output.
All recursive traversal functions (existing and new) now safely handle directory loops due to symbolic or hard links.
Added “since” notes to public functions in API.
Path IO 1.1.0
Fixed bug in
copyDirRecurwhen it was unable to fully copy read-only directories.
copyDirRecur'function that works just like
copyDirRecur, but does not preserve directory permissions.
Path IO 1.0.1
Fixed bug in
copyDirRecurfor non-existing destination paths when directory to copy does not contain sub-directories.
copyDirRecurtry 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
Stringas the first argument.
findFilelazier, it stops searching as soon as a file is found.
Added some tests.
Path IO 0.3.1
Introduced synonym for
forgivingAbsence'is deprecated now, but it's still there.
Added a handy shortcut
ensureDirthat is defined as
ensureDir = createDirIfMissing True.
getTempDirmore robust when they are influenced by values of environment variables.
Path IO 0.3.0
resolveDirfunctions, so the package now provides all functionality that
Path.IOmodule in Stack has.
Added closed type family
Fixed signature of
Path IO 0.2.0
Added functions from
temporaryis a lightweight and ubiquitous package, so depending on it should be OK.
Path IO 0.1.1
Fixed type signatures of
Path IO 0.1.0
- Initial release.