access-time-0.1.0.4: Cross-platform support for retrieving file access times

Safe HaskellSafe-Infered

System.Directory.AccessTime

Synopsis

Documentation

getAccessTime :: FilePath -> IO ClockTimeSource

The getAccessTime operation returns the clock time at which the file or directory was last accessed.

The operation may fail with:

getAccessTimeResolution :: FilePath -> IO TimeDiffSource

Approximate resolution of access times on your system for the given file or directory.

Presently this will not attempt to determine whether access times are actually enabled on the relevant file system.