ecluse:ecluse-core
Safe HaskellNone
LanguageGHC2021

Ecluse.Core.Registry.RubyGems.SourceState

Description

Durable native rows preserve source facts independently of target publication metadata.

Synopsis

Documentation

gemSourceValue :: GemDocument -> Value Source #

Store exact source bytes and physical positions in a versioned native payload.

parseGemSource :: Value -> Parser GemDocument Source #

Reparse native fields rather than trusting independently stored copies of policy facts.

validateGemSource :: PackageDetails -> GemDocument -> Either Text () Source #

Require each retained row to agree with its admitted artifact and exact native identity.

gemSourcePublishedAt :: GemDocument -> Maybe UTCTime Source #

Any unknown platform time leaves the complete version's source age unknown.

gemSourceDecodeCharge :: Value -> Integer Source #

Native reparsing pays the same row workspace allowance as a live source read.

gemSourceCompanions :: CompanionRequirement Source #

Every retained gem needs its original compact specification.