summaryrefslogtreecommitdiff
path: root/Utility
diff options
context:
space:
mode:
authorGravatar Joey Hess <joeyh@joeyh.name>2015-10-08 14:26:21 -0400
committerGravatar Joey Hess <joeyh@joeyh.name>2015-10-08 14:26:21 -0400
commit5434414bff35367aa62a4aaab0c4731a38dbe76e (patch)
tree16df866138debb78d94fe27d07897ca3d4a95d96 /Utility
parentdc7576766528bf5b9951b3f355f49a9f8fc1f183 (diff)
export FileMode type
Diffstat (limited to 'Utility')
-rw-r--r--Utility/FileMode.hs27
1 files changed, 26 insertions, 1 deletions
diff --git a/Utility/FileMode.hs b/Utility/FileMode.hs
index fdf1b56ba..83d53388e 100644
--- a/Utility/FileMode.hs
+++ b/Utility/FileMode.hs
@@ -7,7 +7,32 @@
{-# LANGUAGE CPP #-}
-module Utility.FileMode where
+module Utility.FileMode (
+ FileMode,
+ modifyFileMode,
+ addModes,
+ removeModes,
+ writeModes,
+ readModes,
+ executeModes,
+ otherGroupModes,
+ preventWrite,
+ allowWrite,
+ allowRead,
+ groupSharedModes,
+ groupWriteRead,
+ checkMode,
+ isSymLink,
+ isExecutable,
+ noUmask,
+ withUmask,
+ combineModes,
+ isSticky,
+ stickyMode,
+ setSticky,
+ writeFileProtected,
+ writeFileProtected'
+) where
import System.IO
import Control.Monad