opsutils

package
v0.14.1 Latest Latest
Warning

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

Go to latest
Published: Jun 18, 2024 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