pub fn analyze_local_only(
workspace: &Path,
builder: &mut GraphBuilder,
) -> Result<()>Expand description
Variant of analyze that passes --no-deps to cargo metadata.
External crates are not enumerated and metadata.resolve is None,
so the resulting graph contains only the workspace’s local crates,
their modules, files, and traits — no external crate nodes and no
crate-level Uses edges into externals.
Use when third-party dependencies are unavailable (e.g. private git deps without credentials) or when the analysis intentionally focuses on the local code.