summaryrefslogtreecommitdiff
path: root/Utility/SystemDirectory.hs
diff options
context:
space:
mode:
authorSean Whitton <spwhitton@spwhitton.name>2020-01-01 20:50:07 +0000
committerSean Whitton <spwhitton@spwhitton.name>2020-01-01 20:50:07 +0000
commit5a086f664e9efbb25acb0652dc0e10adede61c2e (patch)
tree405ba59aec2689cc0616a2afcc211e4aedf11c06 /Utility/SystemDirectory.hs
parenta332433aac213fdece32f9a9e5b5749853770abf (diff)
parenta359c2841a68bb7fe6182fddc8e84abb7a463040 (diff)
downloadgit-repair-5a086f664e9efbb25acb0652dc0e10adede61c2e.tar.gz
Merge remote-tracking branch 'dgit/dgit/sid'
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)