lastVersionsOfPackagesWithNeedles :: (PackageName -> Bool)-> Set ByteStringNeedles to search in Cabal files.
-> FilePathPath to
01-index.taror01-index.tar.gz.-> Maybe UTCTimeTimestamp of index state at which to stop scanning.
-> IO (Map PackageName ByteString)Map from packages with largest versions to their Cabal files.
Scan Cabal index and return Cabal files of last versions (not necessarily latest releases or revisions), which contain one of the needles as an entire word (separated by spaces or punctuation).
To avoid ambiguity: we first select the last versions, then filter them by needles.