util

package
v0.27.0-geaaru Latest Latest
Warning

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

Go to latest
Published: Jun 26, 2022 License: GPL-3.0 Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func BindSolverFlags

func BindSolverFlags(cmd *cobra.Command)

func BindSystemFlags

func BindSystemFlags(cmd *cobra.Command)

func BindValuesFlags

func BindValuesFlags(cmd *cobra.Command)

func ProcessRepository

func ProcessRepository(repo *LuetRepository, searchOpts *wagon.StonesSearchOpts, config *LuetConfig, channel chan ChannelSearchRes)

func SearchFromRepos

func SearchFromRepos(config *LuetConfig, searchOpts *wagon.StonesSearchOpts) (*[]*wagon.Stone, error)

func SearchInstalled

func SearchInstalled(config *LuetConfig, searchOpts *wagon.StonesSearchOpts) (*[]*wagon.Stone, error)

func SetCliFinalizerEnvs

func SetCliFinalizerEnvs(finalizerEnvs []string) error

func SetSolverConfig

func SetSolverConfig() (c *config.LuetSolverOptions)

func SetSystemConfig

func SetSystemConfig()

func TemplateFolders

func TemplateFolders(fromRepo bool, treePaths []string) []string

TemplateFolders returns the default folders which holds shared template between packages in a given tree path

func ValuesFlags

func ValuesFlags() []string

Types

type ChannelRepoOpRes

type ChannelRepoOpRes struct {
	Error error
	Repo  *config.LuetRepository
}

type ChannelSearchRes

type ChannelSearchRes struct {
	Stones *[]*wagon.Stone
	Error  error
}

Jump to

Keyboard shortcuts

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