| Safe Haskell | None |
|---|---|
| Language | Haskell98 |
IDE.Utils.FileUtils
Description
- allModules :: FilePath -> IO [ModuleName]
- allHiFiles :: FilePath -> IO [FilePath]
- allHaskellSourceFiles :: FilePath -> IO [FilePath]
- isEmptyDirectory :: FilePath -> IO Bool
- cabalFileName :: FilePath -> IO (Maybe FilePath)
- allCabalFiles :: FilePath -> IO [FilePath]
- getConfigFilePathForLoad :: FilePath -> Maybe FilePath -> FilePath -> IO FilePath
- hasSavedConfigFile :: FilePath -> IO Bool
- getConfigDir :: IO FilePath
- getConfigFilePathForSave :: FilePath -> IO FilePath
- getCollectorPath :: MonadIO m => m FilePath
- getSysLibDir :: IO FilePath
- moduleNameFromFilePath :: FilePath -> IO (Maybe Text)
- moduleNameFromFilePath' :: FilePath -> FilePath -> IO (Maybe Text)
- moduleCollectorFileName :: ModuleKey -> String
- findKnownPackages :: FilePath -> IO (Set Text)
- isSubPath :: FilePath -> FilePath -> Bool
- findSourceFile :: [FilePath] -> [FilePath] -> ModuleName -> IO (Maybe FilePath)
- findSourceFile' :: [FilePath] -> FilePath -> IO (Maybe FilePath)
- haskellSrcExts :: [FilePath]
- getCabalUserPackageDir :: IO (Maybe FilePath)
- autoExtractCabalTarFiles :: FilePath -> IO ()
- autoExtractTarFiles :: FilePath -> IO ()
- getInstalledPackageIds :: [FilePath] -> IO [PackageIdentifier]
- getInstalledPackageIds' :: [FilePath] -> IO (Either Text [PackageIdentifier])
- getPackageDBs :: [FilePath] -> IO [[FilePath]]
- figureOutGhcOpts :: IO [Text]
- figureOutHaddockOpts :: IO [Text]
- allFilesWithExtensions :: [FilePath] -> Bool -> [FilePath] -> FilePath -> IO [FilePath]
- myCanonicalizePath :: FilePath -> IO FilePath
Documentation
allModules :: FilePath -> IO [ModuleName] Source
allHiFiles :: FilePath -> IO [FilePath] Source
allHaskellSourceFiles :: FilePath -> IO [FilePath] Source
isEmptyDirectory :: FilePath -> IO Bool Source
allCabalFiles :: FilePath -> IO [FilePath] Source
hasSavedConfigFile :: FilePath -> IO Bool Source
getConfigDir :: IO FilePath Source
The directory where config files reside
getCollectorPath :: MonadIO m => m FilePath Source
moduleCollectorFileName Source
Arguments
| :: ModuleKey | The module key |
| -> String | The name to use for the collector file (without extension) |
Get the file name to use for the module collector results we want to store the file name for Main module since there can be several in one package
isSubPath :: FilePath -> FilePath -> Bool Source
Returns True if the second path is a location which starts with the first path
findSourceFile :: [FilePath] -> [FilePath] -> ModuleName -> IO (Maybe FilePath) Source
haskellSrcExts :: [FilePath] Source
autoExtractCabalTarFiles :: FilePath -> IO () Source
autoExtractTarFiles :: FilePath -> IO () Source
getInstalledPackageIds :: [FilePath] -> IO [PackageIdentifier] Source
getInstalledPackageIds' :: [FilePath] -> IO (Either Text [PackageIdentifier]) Source
getPackageDBs :: [FilePath] -> IO [[FilePath]] Source
figureOutGhcOpts :: IO [Text] Source
figureOutHaddockOpts :: IO [Text] Source
myCanonicalizePath :: FilePath -> IO FilePath Source
canonicalizePath without crashing