git

package
v0.0.0-...-9c968f8 Latest Latest
Warning

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

Go to latest
Published: Feb 10, 2026 License: Unlicense Imports: 19 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Downloader

type Downloader struct {
	// contains filtered or unexported fields
}

func (*Downloader) Download

func (d *Downloader) Download(ctx context.Context, tmpDir string, s settings.Settings) (bool, error)

type Protocol

type Protocol struct{}

func New

func New() *Protocol

func (*Protocol) Detect

func (p *Protocol) Detect(rawURL string) (protocols.Downloadable, bool)

func (*Protocol) Prefix

func (p *Protocol) Prefix() string

func (*Protocol) Priority

func (p *Protocol) Priority() int

Jump to

Keyboard shortcuts

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