Safe Haskell | None |
---|
- saveHackageDatabase :: FilePath -> IO ()
- createHackageDatabase :: FilePath -> IO ([Documented Package], [(FilePath, ParseError)])
- updateDatabase :: FilePath -> [InstalledPackageInfo] -> IO ()
- createCabalDatabase :: Version -> [PackageIdentifier] -> IO ([Documented Package], [(String, ParseError)])
- getCabalHoogle :: Version -> PackageIdentifier -> Bool -> FilePath -> IO (Either ParseError (Documented Package))
Documentation
saveHackageDatabase :: FilePath -> IO ()Source
Downloads the information for the entire Hackage database and saves it to the specified location.
createHackageDatabase :: FilePath -> IO ([Documented Package], [(FilePath, ParseError)])Source
Downloads the information for the entire Hackage database creating an in-memory database with it. It needs a temporary directory to work on.
updateDatabase :: FilePath -> [InstalledPackageInfo] -> IO ()Source
Updates a database with changes in the installed package base.
createCabalDatabase :: Version -> [PackageIdentifier] -> IO ([Documented Package], [(String, ParseError)])Source
Get the database from a set of Cabal packages.
getCabalHoogle :: Version -> PackageIdentifier -> Bool -> FilePath -> IO (Either ParseError (Documented Package))Source
Get the database from a Cabal package.