Documentation
¶
Overview ¶
Package purl converts Composer package details into a Composer PackageURL.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func MakePackageURL ¶
func MakePackageURL(name string, version string) *purl.PackageURL
MakePackageURL returns a package URL following the purl Composer spec:
- The namespace is the Composer vendor.
- The namespace and name must be lowercased.
See: https://github.com/package-url/purl-spec/blob/main/types/composer-definition.json
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.