Skip to main content

parse_source

Function parse_source 

Source
pub fn parse_source(source: &str) -> ParsedSource
Expand description

TypeScript parseSource: delegate to the shared resolver parser so install paths and identities match PackagePathResolver exactly.

This is a free function (not an associated function on PackageManager) so callers do not have to fix the Runner type parameter.