portage

package
v0.52.0 Latest Latest
Warning

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

Go to latest
Published: Sep 29, 2022 License: Apache-2.0 Imports: 14 Imported by: 0

Documentation

Overview

Package portage provides a concrete Cataloger implementation for Gentoo Portage.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Cataloger

type Cataloger struct{}

func NewPortageCataloger

func NewPortageCataloger() *Cataloger

NewPortageCataloger returns a new Portage 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 portage 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