Versions in this module Expand all Collapse all v0 v0.19.4 May 24, 2023 Changes in this version + const DefaultRevision + const PropertyPackageInfo + const PropertyPackageReference + const PropertyPackageRevision + const PropertyRecipeChannel + const PropertyRecipeRevision + const PropertyRecipeUser + var ErrValidation = util.NewInvalidArgumentErrorf("could not validate one or more reference fields") + type Conaninfo struct + Environment map[string][]string + FullOptions map[string]string + FullRequires []string + FullSettings map[string]string + Options map[string]string + RecipeHash string + Requires []string + Settings map[string]string + func ParseConaninfo(r io.Reader) (*Conaninfo, error) + type Metadata struct + Author string + Description string + Keywords []string + License string + ProjectURL string + RepositoryURL string + func ParseConanfile(r io.Reader) (*Metadata, error) + type PackageReference struct + Recipe *RecipeReference + Reference string + Revision string + func NewPackageReference(recipe *RecipeReference, reference, revision string) (*PackageReference, error) + func (r *PackageReference) AsKey() string + func (r *PackageReference) LinkName() string + func (r *PackageReference) RevisionOrDefault() string + func (r *PackageReference) WithRevision(revision string) *PackageReference + type RecipeReference struct + Channel string + Name string + Revision string + User string + Version string + func NewRecipeReference(name, version, user, channel, revision string) (*RecipeReference, error) + func (r *RecipeReference) AsKey() string + func (r *RecipeReference) LinkName() string + func (r *RecipeReference) RevisionOrDefault() string + func (r *RecipeReference) String() string + func (r *RecipeReference) WithRevision(revision string) *RecipeReference