deb

package
v0.44.0 Latest Latest
Warning

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

Go to latest
Published: Apr 11, 2022 License: Apache-2.0 Imports: 17 Imported by: 0

Documentation

Overview

Package dpkg provides a concrete Cataloger implementation for Debian package DB status files.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Cataloger

type Cataloger struct{}

func NewDpkgdbCataloger

func NewDpkgdbCataloger() *Cataloger

NewDpkgdbCataloger returns a new Deb package cataloger object.

func (*Cataloger) Catalog

func (c *Cataloger) Catalog(resolver source.FileResolver) ([]pkg.Package, []artifact.Relationship, error)

Catalog is given an object to resolve file references and content, this function returns any discovered Packages after analyzing dpkg support files.

func (*Cataloger) Name

func (c *Cataloger) Name() string

Name returns a string that uniquely describes a cataloger

Jump to

Keyboard shortcuts

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