Documentation
¶
Overview ¶
Package packageurl builds package URLs from ecosystem-native package names.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func MakeCacheStrings ¶
MakeCacheStrings returns package and version PURLs suitable for artifact cache records. Swift registry identities use an explicit generic PURL until their source repository has been resolved. The result is independent of the configured upstream so cache entries survive an upstream.swift change, matching every other ecosystem.
func MakeString ¶
MakeString constructs a package URL string. It returns an empty string when the package identity cannot be represented as a PURL.
func WithVersionString ¶
WithVersionString returns a package PURL with its version replaced. It returns an empty string when packagePURL is invalid.
Types ¶
This section is empty.