util

package
v1.3.7 Latest Latest
Warning

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

Go to latest
Published: Feb 25, 2026 License: MIT Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func FilterFilesByPatterns added in v1.3.3

func FilterFilesByPatterns(files []types.File, includePatterns, excludePatterns []string) []types.File

func FilterFilesByPatternsPackageName added in v1.3.3

func FilterFilesByPatternsPackageName(packages []types.Package, includePatterns, excludePatterns []string) []types.Package

This is to filter based on package name

func GenOCIImagePath

func GenOCIImagePath(host string, pathParams ...string) string

func GetPyPIVersion

func GetPyPIVersion(filename string) string

func GetRegistryRef

func GetRegistryRef(account string, ref string, registry string) string

func GetSkipPrinter

func GetSkipPrinter() *pterm.PrefixPrinter

func IsFileLevelFilterableArtifact added in v1.3.3

func IsFileLevelFilterableArtifact(artifactType types.ArtifactType) bool

func IsPackageLevelFilterableArtifact added in v1.3.3

func IsPackageLevelFilterableArtifact(artifactType types.ArtifactType) bool

func MatchesPattern added in v1.3.3

func MatchesPattern(filePath string, patterns []string) bool

Types

This section is empty.

Jump to

Keyboard shortcuts

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