2015-11-12 21:47:31 +00:00
|
|
|
{- Wraps Utility.LockPool, making pid locks be used when git-annex is so
|
|
|
|
- configured.
|
|
|
|
-
|
|
|
|
- Copyright 2015 Joey Hess <id@joeyh.name>
|
|
|
|
-
|
2019-03-13 19:48:14 +00:00
|
|
|
- Licensed under the GNU AGPL version 3 or higher.
|
2015-11-12 21:47:31 +00:00
|
|
|
-}
|
|
|
|
|
|
|
|
{-# LANGUAGE CPP #-}
|
|
|
|
|
|
|
|
module Annex.LockPool (module X) where
|
|
|
|
|
|
|
|
#ifndef mingw32_HOST_OS
|
|
|
|
import Annex.LockPool.PosixOrPid as X
|
|
|
|
#else
|
|
|
|
import Utility.LockPool.Windows as X
|
|
|
|
#endif
|