Documentation ¶
Overview ¶
Copyright © 2022-2023 Macaroni OS Linux See AUTHORS and LICENSE for the license details and contributors.
Copyright © 2022-2023 Macaroni OS Linux See AUTHORS and LICENSE for the license details and contributors.
Copyright © 2022-2023 Macaroni OS Linux See AUTHORS and LICENSE for the license details and contributors.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type PackageMaskFile ¶
type PackageMaskFile struct { Description string `yaml:"description,omitempty" json:"description,omitempty"` Enabled bool `yaml:"enabled,omitempty" json:"enabled,omitempty"` Rules []string `yaml:"rules" json:"rules"` File string `yaml:"-" json:"-"` // contains filtered or unexported fields }
func NewPackageMaskFile ¶
func NewPackageMaskFile(file string) *PackageMaskFile
func NewPackageMaskFileFromData ¶
func NewPackageMaskFileFromData(file string, data []byte) (*PackageMaskFile, error)
func (*PackageMaskFile) BuildMap ¶
func (f *PackageMaskFile) BuildMap() error
func (*PackageMaskFile) Mask ¶
func (f *PackageMaskFile) Mask(repo string, p *gentoo.GentooPackage) (bool, error)
type PackagesMaskManager ¶
type PackagesMaskManager struct { Config *cfg.LuetConfig Files []*PackageMaskFile }
func NewPackagesMaskManager ¶
func NewPackagesMaskManager(c *config.LuetConfig) *PackagesMaskManager
func (*PackagesMaskManager) IsMasked ¶
func (m *PackagesMaskManager) IsMasked(repo string, p *gentoo.GentooPackage) (bool, error)
func (*PackagesMaskManager) LoadFiles ¶
func (m *PackagesMaskManager) LoadFiles() error
Click to show internal directories.
Click to hide internal directories.