ghc-tags-plugin-0.2.3.0: A compiler plugin which generates tags file from GHC parsed syntax tree.
Safe HaskellSafe-Inferred
LanguageHaskell2010

Plugin.GhcTags.FileLock

Synopsis

Documentation

withFileLock :: FilePath -> LockMode -> (FD -> IO x) -> IO x Source #

flock base lock (on posix) or LockFileEx on Windows.

data LockMode #

Indicates a mode in which a file should be locked.

Constructors

SharedLock 
ExclusiveLock