MCPcopy
hub / github.com/hasura/graphql-engine / Downloader

Struct Downloader

cli/plugins/download/downloader.go:235–238  ·  view source on GitHub ↗

Downloader is responsible for fetching, verifying and extracting a binary.

Source from the content-addressed store, hash-verified

233
234// Downloader is responsible for fetching, verifying and extracting a binary.
235type Downloader struct {
236 verifier Verifier
237 fetcher Fetcher
238}
239
240// NewDownloader builds a new Downloader.
241func NewDownloader(v Verifier, f Fetcher) Downloader {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected