[Haskell-cafe] Haskell equivalent toPerl stat function
bulat.ziganshin at gmail.com
Thu Aug 14 12:30:02 EDT 2008
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
> I think this is what you want.
> On Thu, Aug 14, 2008 at 12:14 PM, A Smith <asmith9983 at gmail.com> wrote:
> 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
> Haskell-Cafe at haskell.org
Bulat mailto:Bulat.Ziganshin at gmail.com
More information about the Haskell-Cafe