ecluse:ecluse-core
Safe HaskellNone
LanguageGHC2021

Ecluse.Core.Registry.RubyGems.Document

Description

Retained RubyGems installation metadata stays separate from grouped policy facts.

Synopsis

Documentation

type GemRequirement = NonEmpty Text Source #

Conjunctive native clauses retain their exact operators and version spelling.

data GemDependency Source #

A runtime dependency and every conjunctive requirement on that dependency.

data GemRow Source #

One artifact retains its original physical position and independently owned source bytes.

Instances

Instances details
Show GemRow Source # 
Instance details

Defined in Ecluse.Core.Registry.RubyGems.Document

Eq GemRow Source # 
Instance details

Defined in Ecluse.Core.Registry.RubyGems.Document

Methods

(==) :: GemRow -> GemRow -> Bool #

(/=) :: GemRow -> GemRow -> Bool #

data GemDocument Source #

Ordered per-package rows preserve platform distinctions without fetching compact specifications.

restrictGemDocument :: Set EntryKey -> GemDocument -> GemDocument Source #

Keep only artifacts authorised by their original source positions.

selectGemVersion :: Version -> GemDocument -> Maybe GemDocument Source #

Retain every platform row for one exact raw version, without comparison-key aliases.

gemDocumentBytes :: GemDocument -> Int64 Source #

Cache units for a retained document. Every row carries the document's gem name, so the name is measured once and counted per row.