ecluse:ecluse-core
Safe HaskellNone
LanguageGHC2021

Ecluse.Core.Registry.PyPI.Document

Description

Compact Simple indexes keep original file coordinates independently of retained order.

Synopsis

Documentation

data SimpleDocument Source #

Supported envelope fields and files associated with their original source positions.

simpleDocument :: Object -> [(EntryKey, Value)] -> SimpleDocument Source #

Bind compact files to their source coordinates before admission or assembly.

simpleEnvelope :: SimpleDocument -> Object Source #

Supported top-level fields, excluding the file array.

simpleFiles :: SimpleDocument -> [(EntryKey, Value)] Source #

Original keys in source order, including gaps left by discarded files.

simpleEncoding :: SimpleDocument -> Encoding Source #

Encode the envelope with the retained files in source order. Source coordinates stay internal.