Skip to main content

DependencyMap

Type Alias DependencyMap 

Source
pub type DependencyMap = BTreeMap<String, BTreeMap<String, Dependency>>;
Expand description

A flattened dependency tree, keyed by target full path and then by source full path.

The TypeScript plugin fills an object the caller passes in the parse metadata. A Rust parse metadata value cannot be written back to, so the sink is a typed option instead: MultiSourceOptions::with_deps.

Aliased Typeยง

pub struct DependencyMap { /* private fields */ }