bower

package
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Jan 22, 2024 License: MulanPSL-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Name

func Name() string

func PkgType

func PkgType() model.PkgType

Types

type BowerJSONParser

type BowerJSONParser struct{}

BowerJSONParser is a parser for bower.json file. see: https://github.com/bower/spec/blob/master/json.md

func NewBowerJSONParser

func NewBowerJSONParser() *BowerJSONParser

NewBowerJSONParser returns a new CartFileParser

func (*BowerJSONParser) Matcher

func (p *BowerJSONParser) Matcher() collector.FileMatcher

func (*BowerJSONParser) Parse

func (p *BowerJSONParser) Parse(path string) ([]model.Package, error)

type Collector

type Collector struct {
	collector.BaseCollector
}

func NewCollector

func NewCollector() *Collector

Jump to

Keyboard shortcuts

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