module System.Permissions
( osIsMacOS
, osIsWindows
, setFileExecutable
, setScriptPerms
) where
osIsMacOS :: Bool
osIsMacOS :: Bool
osIsMacOS = Bool
False
osIsWindows :: Bool
osIsWindows :: Bool
osIsWindows = Bool
True
setFileExecutable :: Monad m => FilePath -> m ()
setFileExecutable :: forall (m :: * -> *). Monad m => FilePath -> m ()
setFileExecutable FilePath
_ = () -> m ()
forall a. a -> m a
forall (f :: * -> *) a. Applicative f => a -> f a
pure ()
setScriptPerms :: Monad m => FilePath -> m ()
setScriptPerms :: forall (m :: * -> *). Monad m => FilePath -> m ()
setScriptPerms FilePath
_ = () -> m ()
forall a. a -> m a
forall (f :: * -> *) a. Applicative f => a -> f a
pure ()