summaryrefslogtreecommitdiff
path: root/Utility/SystemDirectory.hs
diff options
context:
space:
mode:
authorJoey Hess <joeyh@joeyh.name>2016-05-24 01:30:21 -0400
committerJoey Hess <joeyh@joeyh.name>2016-05-24 01:30:21 -0400
commitc86fb48e2fe685434558c0ccfc27d093ce741835 (patch)
treeb0ba4da6868a53ad5b6ce3b12233612bb2a95fd4 /Utility/SystemDirectory.hs
parent1f0dd5752920cda9b247ff11fa3a80fcc7188bfb (diff)
downloadgit-repair-c86fb48e2fe685434558c0ccfc27d093ce741835.tar.gz
merge from git-annex
Diffstat (limited to 'Utility/SystemDirectory.hs')
-rw-r--r--Utility/SystemDirectory.hs16
1 files changed, 16 insertions, 0 deletions
diff --git a/Utility/SystemDirectory.hs b/Utility/SystemDirectory.hs
new file mode 100644
index 0000000..3dd44d1
--- /dev/null
+++ b/Utility/SystemDirectory.hs
@@ -0,0 +1,16 @@
+{- System.Directory without its conflicting isSymbolicLink
+ -
+ - Copyright 2016 Joey Hess <id@joeyh.name>
+ -
+ - License: BSD-2-clause
+ -}
+
+-- Disable warnings because only some versions of System.Directory export
+-- isSymbolicLink.
+{-# OPTIONS_GHC -fno-warn-tabs -w #-}
+
+module Utility.SystemDirectory (
+ module System.Directory
+) where
+
+import System.Directory hiding (isSymbolicLink)