export FileMode type
This commit is contained in:
parent
c8fad345f2
commit
f52d4b684d
1 changed files with 26 additions and 1 deletions
|
@ -7,7 +7,32 @@
|
||||||
|
|
||||||
{-# LANGUAGE CPP #-}
|
{-# 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 System.IO
|
||||||
import Control.Monad
|
import Control.Monad
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue