| Safe Haskell | None |
|---|---|
| Language | GHC2021 |
Ecluse.Core.Registry.Sweep.Group
Description
Bounded inventory joins for a mount's mirror and private-cache preview. Each package retains the observations that actually listed it.
Synopsis
- groupAlphabet :: StoreObservation -> StoreObservation -> NameAlphabet
- collectGroupBucket :: NameAlphabet -> NamePrefix -> StoreObservation -> StoreObservation -> IO (BucketNames (StoreObservation, StoreFault) (PackageName, [Bool]))
- boundedVersions :: Int -> [(a, [StoredVersion])] -> Either StoreFault [(a, [StoredVersion])]
Documentation
groupAlphabet :: StoreObservation -> StoreObservation -> NameAlphabet Source #
Use a common partition only when both backends declare the same alphabet.
collectGroupBucket :: NameAlphabet -> NamePrefix -> StoreObservation -> StoreObservation -> IO (BucketNames (StoreObservation, StoreFault) (PackageName, [Bool])) Source #
Join actual package presence under the shared bucket budget, retaining each location.
boundedVersions :: Int -> [(a, [StoredVersion])] -> Either StoreFault [(a, [StoredVersion])] Source #
Reject an oversized combined version inventory and deduplicate identities within each location.