Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Cross-platform File handling for Unix/Mac/Windows
Haskell
Tag: before-haddock

Fetching latest commit…

Cannot retrieve the latest commit at this time

Failed to load latest commit information.
System
.gitignore
README
Setup.hs
Test.hs
easy-file.cabal

README

This is a Haskell package of cross-platform file handling for
Unix/Mac/Windows.

The current Haskell modules have following shortcomings:

- getModificationTime exists in System.Directory. But getAccessTime,
  getStatusChangeTime, getCreationTime do not exist.

- getModificationTime returns obsoleted type, ClockTime. It should
  return modern type, UTCTime, I believe.

- Path separator is not unified. Even though Windows accepts '/' as a
  file separator, getCurrentDirectory in System.Directory returns '\\'
  as a file separator. So, we need to specify regular expression like
  this: "[/\\]foo[/\\]bar[/\\]baz". 

- getHomeDirectory returns HOMEDRIVE/HOMEPATH instead of the HOME
  environment variable on Windows.

This package aims to resolve these problems.
Something went wrong with that request. Please try again.