ecluse:ecluse-core
Safe HaskellNone
LanguageGHC2021

Ecluse.Core.Registry.RubyGems.Serving

Description

Preserve exact admitted installation rows in Compact Index responses.

Synopsis

Documentation

assembleRubyGemsDocument :: Text -> Map SourceId (Snapshot CachedDoc) -> MergePlan -> Maybe CachedDoc -> CachedDoc Source #

Native order and physical coordinates follow the winning source snapshot.

serialiseRubyGemsDocument :: CachedDoc -> Either RenderRefused LByteString Source #

Encoding refuses foreign documents rather than emitting a non-native response.