VerifySource
func VerifySource(ctx context.Context, source io.Reader, seed io.Reader) (VerifyInfo, error)
VerifySource validates every source block against the raw digests in seed, then checks that neither stream contains extra data.
Parameters
| Name | Type | Description |
|---|---|---|
ctx | context.Context | Parameter ctx of VerifySource. |
source | io.Reader | Parameter source of VerifySource. |
seed | io.Reader | Parameter seed of VerifySource. |
Returns
(VerifyInfo, error)
Source
This page is generated from SDK source metadata and the translation catalog.