[Haskell-cafe] Behaviour of System.Directory.getModificationTime

Thomas Schilling nominolo at googlemail.com
Thu Dec 16 23:10:54 CET 2010

Yes, modification times are reported in seconds, so you'll have to
wait on average 0.5s for a file change to be visible via the
modification date.  Due to buffers and filesystem optimisations it
might even take longer.

On 16 December 2010 16:50, Arnaud Bailly <arnaud.oqube at gmail.com> wrote:
> actually, IRL the code works as expected. Might it be possible that
> the speed of test execution is greater than the granularity of the
> system's modification timestamp?
> _______________________________________________
> Haskell-Cafe mailing list
> Haskell-Cafe at haskell.org
> http://www.haskell.org/mailman/listinfo/haskell-cafe

Push the envelope. Watch it bend.

More information about the Haskell-Cafe mailing list