yarn

package
v1.3.5-beta5 Latest Latest
Warning

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

Go to latest
Published: Aug 9, 2024 License: AGPL-3.0, MIT Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewParser

func NewParser() types.Parser

Types

type Dependency

type Dependency struct {
	Pattern string
	Name    string
}

type Library

type Library struct {
	Patterns []string
	Name     string
	Version  string
	Location types.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{}

func (*Parser) Parse

Jump to

Keyboard shortcuts

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