path-io 1.0.0 → 1.0.1
raw patch · 3 files changed
+13/−3 lines, 3 filesdep ~path-ioPVP: major bump suggested
API removals or changes: PVP suggests a major version bump
Dependency ranges changed: path-io
API changes (from Hackage documentation)
- Path.IO: getAccessTime :: MonadIO m => Path b t -> m UTCTime
- Path.IO: setAccessTime :: MonadIO m => Path b t -> UTCTime -> m ()
- Path.IO: setModificationTime :: MonadIO m => Path b t -> UTCTime -> m ()
Files
- CHANGELOG.md +8/−0
- Path/IO.hs +3/−1
- path-io.cabal +2/−2
CHANGELOG.md view
@@ -1,3 +1,11 @@+## 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 takes `String` as the
Path/IO.hs view
@@ -333,6 +333,8 @@ bsrc <- makeAbsolute src bdest <- makeAbsolute dest (dirs, files) <- listDirRecur bsrc+ ensureDir bdest+ ignoringIOErrors (copyPermissions bsrc bdest) mapM (swapParent bsrc bdest) dirs >>= zipWithM_ copyDir dirs mapM (swapParent bsrc bdest) files >>= zipWithM_ copyFile files @@ -344,7 +346,7 @@ -> Path Abs Dir -- ^ Destination -> m () copyDir src dest = do- createDirIfMissing True dest+ ensureDir dest ignoringIOErrors (copyPermissions src dest) -- | A helper for 'copyDirRecur' that replaces given path prefix with
path-io.cabal view
@@ -31,7 +31,7 @@ -- POSSIBILITY OF SUCH DAMAGE. name: path-io-version: 1.0.0+version: 1.0.1 cabal-version: >= 1.10 license: BSD3 license-file: LICENSE.md@@ -79,7 +79,7 @@ , exceptions >= 0.8 , hspec >= 2.0 , path >= 0.5- , path-io >= 1.0.0+ , path-io >= 1.0.1 default-language: Haskell2010 source-repository head