portage

package
v1.14.1 Latest Latest
Warning

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

Go to latest
Published: Jul 29, 2024 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

View Source
const Type string = "gentoo"

Variables

View Source
var (
	RelatedPath = "/db/pkg/"
	RelatedFile = "CONTENTS"
)

Functions

func CheckRelatedFile

func CheckRelatedFile(file string) (string, bool, bool)

func Scan

func Scan(data interface{}) interface{}

TODO: Subject for thorough review and testing

Types

type Digest

type Digest struct {
	Algorithm string `json:"algorithm,omitempty"`
	Value     string `json:"value,omitempty"`
}

PortageDigest file digest metadata

type File

type File struct {
	Path   string `json:"path,omitempty"`
	Digest Digest `json:"digest,omitempty"`
}

PortageFile file metadata

type Metadata

type Metadata struct {
	Size  int    `json:"size,omitempty"`
	Files []File `json:"files,omitempty"`
}

PortageMetadata portage metadata

Jump to

Keyboard shortcuts

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