Changelog for path-io-1.2.1
Path IO 1.2.1
-
Allowed
directory-1.3.0.0
. -
Added
getXdgDir
. Only available ofdirectory-1.2.3.0
or later is used. -
Various cosmetic improvements.
Path IO 1.2.0
-
Added
walkDir
function to traverse a directory tree with a handler. -
Added
walkDirAccum
function which is likewalkDir
but 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
copyDirRecur
when it was unable to fully copy read-only directories. -
Added
copyDirRecur'
function that works just likecopyDirRecur
, but does not preserve directory 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 takesString
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 asensureDir = createDirIfMissing True
. -
Made
getHomeDir
andgetTempDir
more robust when they are influenced by values of environment variables.
Path IO 0.3.0
-
Added
forgivingAbsence
,resolveFile
, andresolveDir
functions, so the package now provides all functionality thatPath.IO
module in Stack has. -
Added closed type family
RelPath
,makeRelative
, andmakeRelativeToCurrentDir
functions. -
Fixed signature of
getAppUserDataDir
.
Path IO 0.2.0
- Added functions from
temporary
:withTempFile
,withTempDir
,withSystemTempFile
,withSystemTempDir
,openTempFile
,openBinaryTempFile
, andcreateTempDir
.temporary
is a lightweight and ubiquitous package, so depending on it should be OK.
Path IO 0.1.1
- Fixed type signatures of
renameFile
andcopyFile
.
Path IO 0.1.0
- Initial release.