[Haskell-cafe] Behaviour of System.Directory.getModificationTime
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
Push the envelope. Watch it bend.
More information about the Haskell-Cafe