ecluse:ecluse-core
Safe HaskellNone
LanguageGHC2021

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

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.