depset

package
v0.2.1 Latest Latest
Warning

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

Go to latest
Published: Jan 31, 2023 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Map

type Map map[uint32]*anpb.DepSetOfFiles

Map is a map of id -> depSetOfFiles.

func NewMap

func NewMap(depSets []*anpb.DepSetOfFiles) Map

NewMap creates a new map of depSet by its ID.

type Resolver

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

func NewResolver

func NewResolver(artifacts artifact.PathMap, depSets Map) *Resolver

func (*Resolver) Resolve

func (r *Resolver) Resolve(in *anpb.DepSetOfFiles) ([]string, error)

func (*Resolver) ResolveIds

func (r *Resolver) ResolveIds(depSetIds []uint32) (artifacts []string, err error)

Jump to

Keyboard shortcuts

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