Skip to main content

classify

Function classify 

Source
pub fn classify(specifier: &str) -> Origin
Expand description

Classify a module specifier, resolution-free: a relative or absolute path is first-party, a node: prefix or a built-in head segment is a built-in, and every other bare specifier is a third-party package.