Plugin.GhcTags.FileLock
withFileLock :: FilePath -> LockMode -> (FD -> IO x) -> IO x Source #
flock base lock (on posix) or LockFileEx on Windows.
flock
LockFileEx
data LockMode #
Indicates a mode in which a file should be locked.
Constructors