misc

package
v1.3.14 Latest Latest
Warning

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

Go to latest
Published: Apr 29, 2024 License: GPL-3.0 Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func FilterEmptyString added in v1.2.1

func FilterEmptyString(slice []string) []string

func FilterSlice added in v1.2.1

func FilterSlice[T any](slice []T, filter func(T) (bool, error)) ([]T, error)

func RegexGetMatchByGroup

func RegexGetMatchByGroup(re *regexp.Regexp, str string) map[string]string

func RegexMapMatchByGroup

func RegexMapMatchByGroup(re *regexp.Regexp, match []string) map[string]string

Types

type PackageInfo

type PackageInfo struct {
	Pkgbase     string
	Pkgname     string
	FullVersion string
	BuildDeps   []string
}

type PackageTracker

type PackageTracker struct {
	Pkgbase           string
	UpstreamVersion   string
	RepositoryVersion string
	NeedsUpdate       bool
	Packages          []PackageInfo
}

Jump to

Keyboard shortcuts

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