{-|
The 'getModificationTime' operation returns the
UTC time at which the file or directory was last modified.

The operation may fail with:

* 'isPermissionError' if the user is not permitted to access
  the modification time; or

* 'isDoesNotExistError' if the file or directory does not exist.

-}
getModificationTime :: FilePath -> IO UTCTime
getModificationTime file = epochTimeToUTCTime . modificationTime <$> getFileStatus file
getModificationTime :: FilePath -> IO UTCTime
getModificationTime file = epochTimeToUTCTime . modificationTime <$> getFileStatus file
getModificationTime file = epochTimeToUTCTime . modificationTime <$> getFileStatus file