[commit: packages/directory] Mistuke-bump-win32-version-bounds, bgamari-patch-1, master: Create Internal.Prelude module (9c30cfc)

git at git.haskell.org git at git.haskell.org
Mon Apr 17 21:34:48 UTC 2017


Repository : ssh://git@git.haskell.org/directory

On branches: Mistuke-bump-win32-version-bounds,bgamari-patch-1,master
Link       : http://ghc.haskell.org/trac/ghc/changeset/9c30cfc5b83309cb823042a620c1992059e45d02/directory

>---------------------------------------------------------------

commit 9c30cfc5b83309cb823042a620c1992059e45d02
Author: Phil Ruffwind <rf at rufflewind.com>
Date:   Sun Dec 4 09:22:40 2016 -0500

    Create Internal.Prelude module
    
    Hopefully this will reduce the amount of boilerplate in each module.
    The Internal and Internal.Prelude modules are exposed to allow the test
    suite to use them as well.


>---------------------------------------------------------------

9c30cfc5b83309cb823042a620c1992059e45d02
 System/Directory.hs                       |  62 ++----------
 System/Directory/Internal.hs              |   1 +
 System/Directory/Internal/C_utimensat.hsc |   5 +-
 System/Directory/Internal/Posix.hsc       |   6 +-
 System/Directory/Internal/Prelude.hs      | 162 ++++++++++++++++++++++++++++++
 System/Directory/Internal/Windows.hsc     |   4 +-
 directory.cabal                           |   3 +-
 tests/CanonicalizePath.hs                 |   1 -
 tests/CopyFile001.hs                      |   7 +-
 tests/CopyFile002.hs                      |   7 +-
 tests/CopyFileWithMetadata.hs             |  10 +-
 tests/CreateDirectory001.hs               |   2 -
 tests/CreateDirectoryIfMissing001.hs      |  14 +--
 tests/CurrentDirectory001.hs              |   5 +-
 tests/Directory001.hs                     |   1 -
 tests/DoesDirectoryExist001.hs            |   1 -
 tests/DoesPathExist.hs                    |   1 -
 tests/FileTime.hs                         |  11 +-
 tests/FindFile001.hs                      |   3 +-
 tests/GetDirContents001.hs                |  19 ++--
 tests/GetDirContents002.hs                |   2 -
 tests/GetFileSize.hs                      |   8 +-
 tests/GetHomeDirectory001.hs              |   1 -
 tests/GetPermissions001.hs                |   1 -
 tests/MakeAbsolute.hs                     |   1 -
 tests/PathIsSymbolicLink.hs               |   5 -
 tests/RemoveDirectoryRecursive001.hs      |  34 +++----
 tests/RemovePathForcibly.hs               |  34 +++----
 tests/RenameDirectory.hs                  |   1 -
 tests/RenameFile001.hs                    |   1 -
 tests/RenamePath.hs                       |   1 -
 tests/T8482.hs                            |   3 -
 tests/TestUtils.hs                        |  15 ++-
 tests/Util.hs                             |  48 +++------
 tests/WithCurrentDirectory.hs             |   7 +-
 tests/util.inl                            |   3 +
 36 files changed, 267 insertions(+), 223 deletions(-)

Diff suppressed because of size. To see it, use:

    git diff-tree --root --patch-with-stat --no-color --find-copies-harder --ignore-space-at-eol --cc 9c30cfc5b83309cb823042a620c1992059e45d02


More information about the ghc-commits mailing list