Safe Haskell | None |
---|---|
Language | Haskell2010 |
Dealing with the 00-index file and all its cabal files.
- sourcePackageIndex :: (MonadThrow m, MonadResource m, MonadActive m, MonadBaseControl IO m) => Producer m UnparsedCabalFile
- data UnparsedCabalFile = UnparsedCabalFile {
- ucfName :: PackageName
- ucfVersion :: Version
- ucfParse :: forall m. MonadThrow m => m GenericPackageDescription
- getLatestDescriptions :: MonadIO m => (PackageName -> Version -> Bool) -> (GenericPackageDescription -> IO desc) -> m (Map PackageName desc)
Documentation
sourcePackageIndex :: (MonadThrow m, MonadResource m, MonadActive m, MonadBaseControl IO m) => Producer m UnparsedCabalFile Source
Stream all of the cabal files from the 00-index tar file.
data UnparsedCabalFile Source
A cabal file with name and version parsed from the filepath, and the package description itself ready to be parsed. It's left in unparsed form for efficiency.
UnparsedCabalFile | |
|