Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var DefaultOpts = &Opts{ Overrides: true, LikeDistros: true, Languages: []string{"en"}, }
Functions ¶
Types ¶
type Opts ¶
type Opts struct { Name string Overrides bool LikeDistros bool Languages []string LanguageTags []language.Tag }
func (*Opts) WithLanguageTags ¶ added in v0.0.7
func (*Opts) WithLanguages ¶ added in v0.0.7
func (*Opts) WithLikeDistros ¶
func (*Opts) WithOverrides ¶
type ResolvedPackage ¶ added in v0.0.7
type ResolvedPackage struct { Name string `sh:"name"` Version string `sh:"version"` Release int `sh:"release"` Epoch uint `sh:"epoch"` Description string `db:"description"` Homepage string `db:"homepage"` Maintainer string `db:"maintainer"` Architectures []string `sh:"architectures"` Licenses []string `sh:"license"` Provides []string `sh:"provides"` Conflicts []string `sh:"conflicts"` Replaces []string `sh:"replaces"` Depends []string `sh:"deps"` BuildDepends []string `sh:"build_deps"` }
ResolvedPackage is a LURE package after its overrides have been resolved
func ResolvePackage ¶ added in v0.0.7
func ResolvePackage(pkg *db.Package, overrides []string) *ResolvedPackage
Click to show internal directories.
Click to hide internal directories.