Test.Util.FileLock
mockFileLock Source #
Arguments
Optional release delay
Mock in-memory implementation of FileLock.
FileLock
Supports an optional delay in release to simulate lazy, non-synchronous unlocking as done by Linux (near instantaneous but not instant) and Windows.