| Safe Haskell | None |
|---|---|
| Language | GHC2021 |
Ecluse.Core.Registry.RubyGems.Publish
Description
Native publication validates the archive and preserves its exact bytes.
Synopsis
- rubyPublish :: ChargeFactors -> AdapterPublish
- rubyPublishCodec :: ChargeFactors -> ServicePresentation -> PublishCodec
- uploadClaims :: Limits -> (Int -> IO ()) -> Text -> PublishRequestBody -> IO (Either PublishBodyFault [Text])
- classifyPublish :: Int -> ByteString -> Either PublishFault ()
Documentation
rubyPublish :: ChargeFactors -> AdapterPublish Source #
Caller publication uses the configured native key and checked OTP header.
rubyPublishCodec :: ChargeFactors -> ServicePresentation -> PublishCodec Source #
Reads present the Basic pair and writes the raw API key, unless the target store declares otherwise.
uploadClaims :: Limits -> (Int -> IO ()) -> Text -> PublishRequestBody -> IO (Either PublishBodyFault [Text]) Source #
Archive identity controls first-party ownership before the server forwards any bytes.
classifyPublish :: Int -> ByteString -> Either PublishFault () Source #
A successful write still needs an independent whole-version inventory proof.