github

package
v0.25.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Dec 11, 2025 License: MIT Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func PullRelease

func PullRelease(ctx context.Context, a *artifact.Artifact, opts *ReleaseOptions) (*artifact.PullResult, error)

PullRelease pulls a release from a github repository to the destination directory

Types

type ReleaseOptions

type ReleaseOptions struct {
	Client     *gh.Client
	Downloader artifact.Downloader
	Uncompress func(src, dest string) error
	Owner      string
	Repository string
	AssetName  string
}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL