diff options
Diffstat (limited to 'Utility/LockFile/LockStatus.hs')
-rw-r--r-- | Utility/LockFile/LockStatus.hs | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/Utility/LockFile/LockStatus.hs b/Utility/LockFile/LockStatus.hs new file mode 100644 index 000000000..3f466c125 --- /dev/null +++ b/Utility/LockFile/LockStatus.hs @@ -0,0 +1,13 @@ +{- LockStatus type + - + - Copyright 2014 Joey Hess <id@joeyh.name> + - + - License: BSD-2-clause + -} + +module Utility.LockFile.LockStatus where + +import System.Posix + +data LockStatus = StatusUnLocked | StatusLockedBy ProcessID | StatusNoLockFile + deriving (Eq) |