pub fn detect_import_changes(
old_path: &Path,
new_path: &Path,
old_content: &str,
new_content: &str,
) -> Vec<SemanticChange>Expand description
Detect import/dependency changes between two file versions.
If manifest_content is provided (e.g. contents of Cargo.toml or package.json),
dependency versions will be resolved from it instead of showing “unknown”.