ghc-tags-plugin-0.2.0.0: A compiler plugin which generates tags file from GHC parsed syntax tree.
Plugin.GhcTags.FileLock
withFileLock :: FilePath -> LockMode -> IOMode -> (Handle -> 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