2015-11-12 19:38:02 +00:00
|
|
|
{- LockStatus type
|
|
|
|
-
|
|
|
|
- Copyright 2014 Joey Hess <id@joeyh.name>
|
|
|
|
-
|
|
|
|
- License: BSD-2-clause
|
|
|
|
-}
|
|
|
|
|
2019-11-21 19:38:06 +00:00
|
|
|
module Utility.LockFile.LockStatus (LockStatus(..)) where
|
2015-11-12 19:38:02 +00:00
|
|
|
|
|
|
|
import System.Posix
|
|
|
|
|
|
|
|
data LockStatus = StatusUnLocked | StatusLockedBy ProcessID | StatusNoLockFile
|
|
|
|
deriving (Eq)
|