scion-browser-0.1.3.4: Command-line interface for browsing and searching packages documentation

Scion.Browser.Build

Synopsis

Documentation

saveHackageDatabase :: FilePath -> IO ()Source

Downloads the information for the entire Hackage database and saves it to the specified location.

createHackageDatabase :: FilePath -> IO (Database, [(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 :: Database -> [InstalledPackageInfo] -> IO DatabaseSource

Updates a database with changes in the installed package base.

createCabalDatabase :: Version -> [PackageIdentifier] -> IO (Database, [(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.