[commit: packages/directory] master: Remove withFileStatus to avoid long path restrictions (bb4ebeb)

git at git.haskell.org git at git.haskell.org
Mon Apr 17 21:35:45 UTC 2017


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

On branch  : master
Link       : http://ghc.haskell.org/trac/ghc/changeset/bb4ebeb3f75c11d2211972d7e7511e51ecdd54c1/directory

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

commit bb4ebeb3f75c11d2211972d7e7511e51ecdd54c1
Author: Phil Ruffwind <rf at rufflewind.com>
Date:   Sun Mar 5 08:38:04 2017 -0500

    Remove withFileStatus to avoid long path restrictions
    
    The implementations have been refactored to use a "Metadata"-based
    interface, inspired by the Rust standard library.  It's essentially a
    portable version of 'stat'.  So far, this interface will remain
    internal, but it might become public someday.
    
    The permissions-related functions still need to be cleaned up, however.
    They are one of the last remaining places that do not support long paths
    on Windows.


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

bb4ebeb3f75c11d2211972d7e7511e51ecdd54c1
 System/Directory.hs                   | 163 ++++++++++------------------------
 System/Directory/Internal.hs          |  14 +--
 System/Directory/Internal/Common.hs   |   7 ++
 System/Directory/Internal/Posix.hsc   |  22 +++++
 System/Directory/Internal/Windows.hsc |  57 +++++++++---
 directory.cabal                       |   1 +
 6 files changed, 128 insertions(+), 136 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 bb4ebeb3f75c11d2211972d7e7511e51ecdd54c1


More information about the ghc-commits mailing list