jar

package
v0.0.0-...-5fe5f95 Latest Latest
Warning

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

Go to latest
Published: Jan 19, 2023 License: MIT Imports: 21 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	ArtifactNotFoundErr = xerrors.New("no artifact found")
)

Functions

func NewParser

func NewParser(opts ...Option) types.Parser

Types

type Option

type Option func(*Parser)

func WithFilePath

func WithFilePath(filePath string) Option

func WithHTTPClient

func WithHTTPClient(client *http.Client) Option

func WithOffline

func WithOffline(offline bool) Option

func WithSize

func WithSize(size int64) Option

func WithURL

func WithURL(url string) Option

type Parser

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

func (*Parser) Parse

func (p *Parser) Parse(r dio.ReadSeekerAt) ([]types.Library, []types.Dependency, error)

Jump to

Keyboard shortcuts

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