-
v1.2.7.0331ded9a · ·
directory 1.2.7.0 * Remove deprecated C bits. This means HsDirectory.h and its functions are no longer available. ( https://github.com/haskell/directory/issues/50 ) * Add doesPathExist and getFileSize ( https://github.com/haskell/directory/issues/57 ) * Add renamePath ( https://github.com/haskell/directory/issues/58 ) * Add removePathForcibly ( https://github.com/haskell/directory/issues/59 ) -
v1.2.6.074e50582 · ·
directory 1.2.6.0 * Bundled with GHC 8.0.1 * Make findExecutable, findExecutables, findExecutablesInDirectories, findFile, and findFilesWith lazier ( https://github.com/haskell/directory/issues/43 ) * Add findFileWith * Add copyFileWithAttrs, which copies additional metadata ( https://github.com/haskell/directory/issues/40 ) * Improve error message of removeDirectoryRecursive when used on a directory symbolic link on Windows. * Add isSymbolicLink * Drop support for Hugs. -
v1.2.5.133ce1ca6 · ·
directory 1.2.5.1 * Improve error message of getCurrentDirectory when the current working directory no longer exists ( https://github.com/haskell/directory/issues/39 ) * Fix the behavior of trailing path separators in canonicalizePath as well as makeAbsolute when applied to the current directory; they should now match the behavior of canonicalizePath prior to 1.2.3.0 (when the bug was introduced) ( https://github.com/haskell/directory/issues/42 ) * Set the location in IO errors from `makeAbsolute`. -
v1.2.3.04449af7e · ·
directory 1.2.3.0 * Add support for XDG Base Directory Specification ( https://github.com/haskell/directory/issues/6 ) * Implement setModificationTime counterpart to getModificationTime ( https://github.com/haskell/directory/issues/13 ) * Implement getAccessTime and setAccessTime * Fix canonicalizePath so that it always returns a reasonable result even if the path is inaccessible and will not throw exceptions unless the current directory cannot be obtained ( https://github.com/haskell/directory/issues/23 ) * Corrected the trailing slash behavior of makeAbsolute so that makeAbsolute "" == makeAbsolute "." * Deprecate use of HsDirectory.h and HsDirectoryConfig.h -
directory-1.2.1.0-release0c64d542 · ·
directory 1.2.1.0 * Bundled with GHC 7.8.1 * Add support for sub-second precision in `getModificationTime` when linked against `unix>=2.6.0.0` * Fix `createDirectoryIfMissing _ "."` in `C:\` on Windows * Remove support for NHC98 compiler * Update package to `cabal-version >= 1.10` format * Enhance Haddock documentation for `doesDirectoryExist` and `canonicalizePath` * Fix `findExecutable` to check that file permissions indicate executable * New convenience functions `findFiles` and `findFilesWith`