ecluse:ecluse-core
Safe HaskellNone
LanguageGHC2021

Ecluse.Core.Registry.RubyGems.FirstParty

Description

RubyGems ownership declarations use exact names and separator-delimited prefixes.

Synopsis

Documentation

type RubyGemsFirstParty = FirstPartyEntry RubyGemsNames Source #

An exact name or a prefix declared by the registry operator.

projectFirstPartyEntry :: Text -> Either ParseError RubyGemsFirstParty Source #

Parse an exact gem name or a prefix with a terminal separator followed by *.

rubyGemsFirstPartyName :: NonEmpty RubyGemsFirstParty -> PackageName -> Bool Source #

Match exact native identities, excluding foreign ecosystems and npm scopes.

rubyGemsFirstPartyNames :: FirstPartyNames RubyGemsFirstParty Source #

Names and prefixes the mount's firstParty entries declare.