Skip to main content

Module diff

Module diff 

Source
Expand description

Merging a completed registry fetch’s deprecation and no-comparable-versions findings into a document’s outcome map.

Extracted from deps-lsp’s document/diff.rs (issue #1059): both functions here decide what a fetch result means for DependencyOutcomes, not how or when to fetch — editor-only cache reconciliation (preserve_cache, drop_cache_for_forced_refetch) stays in deps-lsp since it mutates DocumentState fields these functions never touch.

Functions§

merge_deprecations_after_fetch
Merges a partial fetch’s #205 deprecation findings into outcomes’ deprecation channel (incremental didChange path — S1).
merge_no_comparable_versions_after_fetch
Merges a partial fetch’s #550 no-comparable-versions findings into outcomes’ corresponding channel (incremental didChange path).