Skip to main content

find_dead_code_full

Function find_dead_code_full 

Source
pub fn find_dead_code_full(
    graph: &ModuleGraph,
    config: &ResolvedConfig,
    resolved_modules: &[ResolvedModule],
    plugin_result: Option<&AggregatedPluginResult>,
    workspaces: &[WorkspaceInfo],
    modules: &[ModuleInfo],
    collect_usages: bool,
) -> AnalysisResults
👎Deprecated since 2.76.0:

fallow_core is internal; use fallow_cli::programmatic::detect_dead_code instead. NOTE: replacement returns serde_json::Value, not typed AnalysisResults. See docs/fallow-core-migration.md and ADR-008.

Expand description

Find all dead code, with optional resolved module data, plugin context, and workspace info.