releaseartifacts

package
v1.0.4 Latest Latest
Warning

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

Go to latest
Published: Sep 5, 2026 License: MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CopyAllowed

func CopyAllowed(source, destination string, names []string) error

Types

type Allowlist

type Allowlist struct {
	Version  int      `json:"version"`
	Patterns []string `json:"patterns"`
	// contains filtered or unexported fields
}

func Load

func Load(path string) (*Allowlist, error)

func (*Allowlist) Allows

func (a *Allowlist) Allows(name string) bool

func (*Allowlist) ValidateDirectory

func (a *Allowlist) ValidateDirectory(directory string) ([]string, error)

Jump to

Keyboard shortcuts

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