Hello John, Thursday, August 14, 2008, 8:26:00 PM, you wrote:
> See System.Posix.Files. ... on Unix. there is also universal function in System.Directory: getModificationTime -- :: FilePath -> IO ClockTime > http://hackage.haskell.org/packages/archive/unix/2.3.0.0/doc/html/System-Posix-Files.html#v%3AmodificationTime > > I think this is what you want. > On Thu, Aug 14, 2008 at 12:14 PM, A Smith <[EMAIL PROTECTED]> wrote: > Hi > I'm new to Haskell, so correct me if this is the wrong list or the > wrong question. > I'm looking for a function similar to the Perl stat to provide me > with the last modify time of a file. > I've been poring over source code entries referencing hfileSize but > can't find the specific bit which reads the directory entry, so I > could copy the code. > Any advice would be welcome. > -- > Andrew in Edinburgh,Scotland > _______________________________________________ > Haskell-Cafe mailing list > [email protected] > http://www.haskell.org/mailman/listinfo/haskell-cafe > -- Best regards, Bulat mailto:[EMAIL PROTECTED] _______________________________________________ Haskell-Cafe mailing list [email protected] http://www.haskell.org/mailman/listinfo/haskell-cafe
