raw

package
v1.5.1 Latest Latest
Warning

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

Go to latest
Published: Nov 1, 2026 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Provider added in v1.0.0

type Provider struct {
	URL string
}

Provider is a raw URL provider. It implements the Provider interface.

func New

func New(url string) *Provider

New creates a new raw provider with the given URL.

func (*Provider) FetchPackageFiles added in v1.0.0

func (p *Provider) FetchPackageFiles(ctx context.Context, name, version string) (library.Files, string, error)

FetchPackageFiles returns a single file with the raw URL. The version is passed through unchanged.

Jump to

Keyboard shortcuts

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