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

Safe HaskellNone

Scion.PersistentBrowser.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 ([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.