[commit: packages/directory] master: Implement setModificationTime (and rewrite getModificationTime) (499130c)

git at git.haskell.org git at git.haskell.org
Fri Dec 18 09:50:49 UTC 2015


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

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

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

commit 499130ca810a4cff22623811265af2768aaac491
Author: Phil Ruffwind <rf at rufflewind.com>
Date:   Fri May 29 20:29:29 2015 -0400

    Implement setModificationTime (and rewrite getModificationTime)
    
    The unix package does not have a general setFileTimesHiRes that allowed
    setting mtime separately from atime.  Therefore, we import the foreign
    utimensat function in the new Internal module (hsc), which also involves
    implementing struct timespec.
    
    Fixes #13.


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

499130ca810a4cff22623811265af2768aaac491
 System/Directory.hs           | 160 +++++++++++++++++++++++++++++++++---------
 System/Directory/Internal.hsc |  46 ++++++++++++
 changelog.md                  |   5 +-
 directory.cabal               |   2 +
 4 files changed, 180 insertions(+), 33 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 499130ca810a4cff22623811265af2768aaac491


More information about the ghc-commits mailing list