Skip to main content

parse_purl

Function parse_purl 

Source
pub fn parse_purl(purl: &str) -> Option<(&str, String, &str)>
Expand description

Parse a PURL into ecosystem, package directory path, and version. Supports npm, pypi, and (with cargo feature) cargo PURLs.