Versions in this module Expand all Collapse all v0 v0.1.0 Dec 2, 2026 Changes in this version + const C2Go + const CGo + const PureGo + var ErrOffline = errors.New("fetch: not cached and offline") + func Fetch(ctx context.Context, o Options) error + func HTTPS(ctx context.Context, url string) (io.ReadCloser, error) + func Shared(ctx context.Context, so SharedOptions) (string, error) + type Limits struct + ArchiveBytes int64 + FileBytes int64 + Files int + type Options struct + Cache string + Citation library.Citation + Dir string + Drivers []string + Fetch func(ctx context.Context, url string) (io.ReadCloser, error) + Limits Limits + Offline bool + Package string + Targets []string + type Selection struct + Asset library.Asset + Driver string + Target string + func Plan(citation library.Citation, drivers, targets []string) ([]Selection, error) + type SharedOptions struct + Cache string + Citation library.Citation + Dir string + Fetch func(ctx context.Context, url string) (io.ReadCloser, error) + Limits Limits + Offline bool + Target string