Releases: haskell/directory
Releases · haskell/directory
directory 1.3.1.5
- Rename the internal header
windows.h
to avoid GHC#14312. (#77)
directory 1.3.1.4
- Fix
Win32
version 2.6 compatibility.
directory 1.3.1.3
- Relax
Win32
version bounds to support 2.6.
directory 1.3.1.2
- Relax
base
version bounds to support 4.11.
directory 1.3.1.1
-
Fix a bug where
createFileLink
andcreateDirectoryLink
failed to handle..
in absolute paths. -
Improve support (partially) for paths longer than 260 characters on Windows. To achieve this, many functions will now automatically prepend
\\?\
before calling the Windows API. As a side effect, the\\?\
prefix may show up in the error messages of the affected functions. -
makeAbsolute
can now handle drive-relative paths on Windows such asC:foobar
directory 1.3.1.0
findFile
(and similar functions): when an absolute path is given, the list of search directories is now completely ignored. Previously, if the list was empty,findFile
would always fail. (#72)- For symbolic links on Windows, the following functions had previously interpreted paths as referring to the links themselves rather than their targets. This was inconsistent with other platforms and has been fixed.
getFileSize
doesPathExist
doesDirectoryExist
doesFileExist
- Fix incorrect location info in errors from
pathIsSymbolicLink
. - Add functions for symbolic link manipulation:
createFileLink
createDirectoryLink
removeDirectoryLink
getSymbolicLinkTarget
canonicalizePath
can now resolve broken symbolic links too. (#64)
directory 1.3.0.2
- [optimization] Increase internal buffer size of
copyFile
(#69) - Relax
time
version bounds to support 1.8.
directory 1.3.0.1
- Relax Win32 version bounds to support 2.5. (#67)
directory 1.3.0.0
- Drop trailing slashes in
canonicalizePath
(#63) - Rename
isSymbolicLink
topathIsSymbolicLink
. The old name will remain available but may be removed in the next major release. (#52) - Changed
canonicalizePath
to dereference symbolic links even if it points to a file and is not the last path segment - On Windows,
canonicalizePath
now canonicalizes the letter case too - On Windows,
canonicalizePath
now also dereferences symbolic links - When exceptions are thrown, the error location will now contain additional information about the internal function(s) used.
directory 1.2.7.1
- Don't abort
removePathForcibly
if files or directories go missing. In addition, keep going even if an exception occurs. (#60)