pckg

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: 29 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AllCollectors

func AllCollectors() []collector.Collector

func GetCollectors

func GetCollectors(names string) []collector.Collector

GetCollectors groups for directory

Types

type CollectorManager

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

CollectorManager manages all Parsers

func NewCollectorManager

func NewCollectorManager(cfg *config.PackageConfig) *CollectorManager

NewCollectorManager creates a new CollectorManager

func (*CollectorManager) Collect

func (cm *CollectorManager) Collect(dirPath string) ([]model.Package, error)

Collect packages using given collectors

Jump to

Keyboard shortcuts

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