opsutils

package
v0.11.6 Latest Latest
Warning

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

Go to latest
Published: Apr 20, 2023 License: Apache-2.0 Imports: 11 Imported by: 2

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewContentHashFunc

func NewContentHashFunc(selectors []Selector) solver.ResultBasedCacheFunc

func Validate

func Validate(op *pb.Op) error

Types

type Selector

type Selector struct {
	Path            string
	Wildcard        bool
	FollowLinks     bool
	IncludePatterns []string
	ExcludePatterns []string
}

func (Selector) HasWildcardOrFilters

func (sel Selector) HasWildcardOrFilters() bool

Jump to

Keyboard shortcuts

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