| Safe Haskell | None |
|---|---|
| Language | GHC2021 |
Ecluse.Core.Registry.Cargo.Metadata
Description
Prepared sparse metadata reads capture checked discovery and keep all finishing operations pure.
Synopsis
- cargoReadWith :: (Int -> IO ()) -> (Int -> IO ()) -> CargoDiscovery -> EcosystemRead
- cargoChargeFactors :: ChargeFactors
- prepareCargoRead :: PrepareRead
- prepareCargoReadAs :: CredentialMapping -> PrepareRead
- finishCargoFull :: Limits -> StreamResult CargoIndexResult -> Either MetadataError (PackageInfo, CachedDoc)
- selectCargoVersionDoc :: Version -> CachedDoc -> Maybe CachedDoc
Documentation
cargoReadWith :: (Int -> IO ()) -> (Int -> IO ()) -> CargoDiscovery -> EcosystemRead Source #
Full and selected reads reserve row workspace through separate absolute callbacks.
cargoChargeFactors :: ChargeFactors Source #
Per-byte charges from native corpus read, retained-entry and output measurements.
prepareCargoRead :: PrepareRead Source #
Prepare after the selected origin receives its caller or service credential. Boot performs no discovery.
prepareCargoReadAs :: CredentialMapping -> PrepareRead Source #
prepareCargoRead with discovery and index reads presenting the credential under mapping.
finishCargoFull :: Limits -> StreamResult CargoIndexResult -> Either MetadataError (PackageInfo, CachedDoc) Source #
Finish a complete native index walk.