Safe Haskell | None |
---|---|
Language | Haskell2010 |
Synopsis
- initSysTools :: String -> IO Settings
- lazyInitLlvmConfig :: String -> IO LlvmConfig
- module GHC.SysTools.Tasks
- module GHC.SysTools.Info
- copyFile :: FilePath -> FilePath -> IO ()
- copyHandle :: Handle -> Handle -> IO ()
- copyWithHeader :: String -> FilePath -> FilePath -> IO ()
- data Option
- expandTopDir :: FilePath -> String -> String
Initialisation
initSysTools :: String -> IO Settings Source #
lazyInitLlvmConfig :: String -> IO LlvmConfig Source #
Interface to system tools
module GHC.SysTools.Tasks
module GHC.SysTools.Info
Fast file copy
Copy a file with its permissions. If the destination file already exists, it is replaced atomically. Neither path may refer to an existing directory. No exceptions are thrown if the permissions could not be copied.
copyHandle :: Handle -> Handle -> IO () Source #
Copy remaining bytes from the first Handle to the second one
copyWithHeader :: String -> FilePath -> FilePath -> IO () Source #
Copy file after printing the given header
General utilities
expandTopDir :: FilePath -> String -> String #