Skip to main content

changed_exports_for_changed_paths

Function changed_exports_for_changed_paths 

Source
pub fn changed_exports_for_changed_paths(
    graph: &RetainedModuleGraph,
    root: &Path,
    changed_files: &FxHashSet<PathBuf>,
) -> Option<Vec<ChangedExport>>
Expand description

List the exports of absolute changed paths with their declaration lines.

Each changed file is read and parsed once. The exports keep graph order within a file, and the files are in FileId order. None when no module matches a changed path.