haskell / haskell/directory

FR: a variant of getModificationTime that works on symlinks

Open
#155 1 comment 0 reactions 0 assignees View on GitHub
type: (3) feature request
Dominant language
Haskell
Stars
65
Forks
52
PR merge metrics
No merged PRs in 30d

Description

```
$ ln -s /invalid invalid
$ ghci
λ import System.Directory
λ getModificationTime "invalid"
*** Exception: invalid: getModificationTime:getFileStatus: does not exist (No such file or directory)
```

I think it should return the modification time of the link itself

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.