deb

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: 13 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 Collector

type Collector struct {
	collector.BaseCollector
}

func NewCollector

func NewCollector() *Collector

type DEBArchiveParser

type DEBArchiveParser struct{}

debArchiveParser is a parser for deb archive file

func NewDEBArchiveParser

func NewDEBArchiveParser() *DEBArchiveParser

NewDEBArchiveParser returns a new debArchiveParser

func (*DEBArchiveParser) Matcher

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

func (*DEBArchiveParser) Parse

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

type DebControlFileParser

type DebControlFileParser struct{}

func NewDebControlFileParser

func NewDebControlFileParser() *DebControlFileParser

func (*DebControlFileParser) Matcher

func (*DebControlFileParser) Parse

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

Jump to

Keyboard shortcuts

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