Purl

expect class Purl(purl: String)
actual typealias Purl = PackageURL

Constructors

Link copied to clipboard
expect constructor(purl: String)

Functions

Link copied to clipboard
expect fun canonicalize(): String
Link copied to clipboard

Matches PURLs with confidence.

Link copied to clipboard
expect fun getName(): String
Link copied to clipboard
expect fun getNamespace(): String?
Link copied to clipboard
Link copied to clipboard
expect fun getScheme(): String?
Link copied to clipboard
expect fun getSubpath(): String?
Link copied to clipboard
expect fun getType(): String?
Link copied to clipboard
expect fun getVersion(): String?
Link copied to clipboard

A little helper extension to convert a Purl to a PurlProperty.