yarn

package
v0.58.1 Latest Latest
Warning

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

Go to latest
Published: Dec 24, 2024 License: Apache-2.0 Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Dependency

type Dependency struct {
	Pattern string
	Name    string
}

type Library

type Library struct {
	Patterns []string
	Name     string
	Version  string
	Location ftypes.Location
}

type LineScanner

type LineScanner struct {
	*bufio.Scanner
	// contains filtered or unexported fields
}

func NewLineScanner

func NewLineScanner(r io.Reader) *LineScanner

func (*LineScanner) LineNum

func (s *LineScanner) LineNum(prevNum int) int

func (*LineScanner) Scan

func (s *LineScanner) Scan() bool

type LockFile

type LockFile struct {
	Dependencies map[string]Dependency
}

type Parser

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

func NewParser

func NewParser() *Parser

func (*Parser) Parse

func (p *Parser) Parse(r xio.ReadSeekerAt) ([]ftypes.Package, []ftypes.Dependency, map[string][]string, error)

Jump to

Keyboard shortcuts

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