dependency

package
v0.11.4 Latest Latest
Warning

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

Go to latest
Published: Jun 1, 2026 License: MIT Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NormalizePackageType

func NormalizePackageType(packageType string) string

Types

type Dependency

type Dependency struct {
	Id             string `json:"id"`
	Type           string `json:"type"`
	Version        string `json:"version,omitempty"`
	Hash           string `json:"hash,omitempty"`
	GPGFingerprint string `json:"gpg-fingerprint,omitempty"`
	Repository     string `json:"repository,omitempty"`
}

func (Dependency) AsDependencyReference

func (wd Dependency) AsDependencyReference() string

AsDependencyReference returns a string representation of the dependency suitable for use with their respective package managers or tooling.

func (Dependency) AsPackageUrl

func (wd Dependency) AsPackageUrl() string

func (Dependency) AsPackageUrlNoVersion

func (wd Dependency) AsPackageUrlNoVersion() string

Jump to

Keyboard shortcuts

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