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).