| Safe Haskell | None |
|---|---|
| Language | GHC2021 |
Ecluse.Core.Registry.Cargo.Serving
Description
Assemble admitted native rows from exact winning snapshots in their source order.
Synopsis
Documentation
assembleCargoDocument :: Text -> Map SourceId (Snapshot CachedDoc) -> MergePlan -> Maybe CachedDoc -> CachedDoc Source #
Only exact admitted coordinates enter the LF output. Index records contain no download URL to rebase.
serialiseCargoDocument :: CachedDoc -> Either RenderRefused LByteString Source #
Refuse damaged or foreign documents rather than emit a non-native empty JSON object.