ecluse:ecluse-core
Safe HaskellNone
LanguageGHC2021

Ecluse.Core.Server.Cache.VersionWeight.Fields

Description

Field charges shared by selected releases and durable mirror records. Aliases count per occurrence.

Synopsis

Documentation

rawWeight :: CachedDoc -> Integer Source #

Charge compact source size on the shared expansion without encoding.

retainedRawWeight :: CachedDoc -> Integer Source #

State retention uses Integer expansion. Selected entries keep their existing Int arithmetic.

detailsFieldsWeight :: PackageDetails -> Integer Source #

Preserve variable release charges independently of the selected-entry shell.

nameWeight :: PackageName -> Integer Source #

Charge all package spellings, including aliases.

textWeight :: Text -> Integer Source #

Count the complete backing allocation of each text occurrence.

itemsWeight :: Foldable f => (a -> Integer) -> f a -> Integer Source #

Include a list or map element allowance for each occurrence.

artifactWeight :: Artifact -> Integer Source #

Charge coordinates, source strings, digests and companion declarations.

weighEntryKey :: EntryKey -> Integer Source #

Charge an entry coordinate, including any retained text backing allocation.