leksah-server-0.8.0.6: Metadata collection for leksahSource codeContentsIndex
IDE.Utils.FileUtils
Description
Synopsis
allModules :: FilePath -> IO [ModuleName]
allHiFiles :: FilePath -> IO [FilePath]
allHaskellSourceFiles :: FilePath -> IO [FilePath]
cabalFileName :: FilePath -> IO (Maybe String)
allCabalFiles :: FilePath -> IO [FilePath]
getConfigFilePathForLoad :: String -> Maybe FilePath -> FilePath -> IO FilePath
hasConfigDir :: IO Bool
getConfigDir :: IO FilePath
getConfigFilePathForSave :: String -> IO FilePath
getCollectorPath :: MonadIO m => m FilePath
getSysLibDir :: IO FilePath
moduleNameFromFilePath :: FilePath -> IO (Maybe String)
moduleNameFromFilePath' :: FilePath -> String -> IO (Maybe String)
findKnownPackages :: FilePath -> IO (Set String)
isSubPath :: FilePath -> FilePath -> Bool
findSourceFile :: [FilePath] -> [String] -> ModuleName -> IO (Maybe FilePath)
findSourceFile' :: [FilePath] -> String -> IO (Maybe FilePath)
haskellSrcExts :: [String]
getCabalUserPackageDir :: IO (Maybe FilePath)
autoExtractCabalTarFiles :: FilePath -> IO ()
autoExtractTarFiles :: FilePath -> IO ()
getInstalledPackageIds :: IO [PackageIdentifier]
figureOutGhcOpts :: IO [String]
figureOutHaddockOpts :: IO [String]
allFilesWithExtensions :: [String] -> Bool -> [FilePath] -> FilePath -> IO [FilePath]
Documentation
allModules :: FilePath -> IO [ModuleName]Source
allHiFiles :: FilePath -> IO [FilePath]Source
allHaskellSourceFiles :: FilePath -> IO [FilePath]Source
cabalFileName :: FilePath -> IO (Maybe String)Source
allCabalFiles :: FilePath -> IO [FilePath]Source
getConfigFilePathForLoad :: String -> Maybe FilePath -> FilePath -> IO FilePathSource
hasConfigDir :: IO BoolSource
getConfigDir :: IO FilePathSource
The directory where config files reside
getConfigFilePathForSave :: String -> IO FilePathSource
getCollectorPath :: MonadIO m => m FilePathSource
getSysLibDir :: IO FilePathSource
moduleNameFromFilePath :: FilePath -> IO (Maybe String)Source
moduleNameFromFilePath' :: FilePath -> String -> IO (Maybe String)Source
findKnownPackages :: FilePath -> IO (Set String)Source
isSubPath :: FilePath -> FilePath -> BoolSource
Returns True if the second path is a location which starts with the first path
findSourceFile :: [FilePath] -> [String] -> ModuleName -> IO (Maybe FilePath)Source
findSourceFile' :: [FilePath] -> String -> IO (Maybe FilePath)Source
haskellSrcExts :: [String]Source
getCabalUserPackageDir :: IO (Maybe FilePath)Source
autoExtractCabalTarFiles :: FilePath -> IO ()Source
autoExtractTarFiles :: FilePath -> IO ()Source
getInstalledPackageIds :: IO [PackageIdentifier]Source
figureOutGhcOpts :: IO [String]Source
figureOutHaddockOpts :: IO [String]Source
allFilesWithExtensions :: [String] -> Bool -> [FilePath] -> FilePath -> IO [FilePath]Source
Produced by Haddock version 2.6.1