fix build on windows
This commit is contained in:
parent
a6f7017eba
commit
06a80dc790
1 changed files with 4 additions and 0 deletions
|
@ -39,6 +39,10 @@ import Utility.InodeCache
|
|||
import Types.WorkerPool
|
||||
import qualified Utility.RawFilePath as R
|
||||
|
||||
#ifdef mingw32_HOST_OS
|
||||
import Annex.Perms
|
||||
#endif
|
||||
|
||||
{- Checks if a given key's content is currently present. -}
|
||||
inAnnex :: Key -> Annex Bool
|
||||
inAnnex key = inAnnexCheck key $ liftIO . R.doesPathExist
|
||||
|
|
Loading…
Add table
Reference in a new issue