Skip to main content

package_identity

Function package_identity 

Source
pub fn package_identity(entry: &Entry) -> Option<String>
Expand description

The package that npm or git extension entry entry installs, as LeftOut compares copies: npm:<name> or git:<host>/<path>, as settings packages are matched. An entry with path takes one folder of it, which #<path> names, without . or empty segments.