Repository navigation
Commit 69c4563
committed
Fix Go workspace member loading from cache
When a workspace member requires another workspace member, the code
should not try to load it from the module cache. Go builds workspace
members (main modules) from their local directories and ignores version
requirements for them.
The fix filters out requirements that point to workspace members when
building the module graph, both in the initial queue and when adding
transitive dependencies.1 parent 6862138 commit 69c4563
1 file changed
Lines changed: 4 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
395 | 395 | | |
396 | 396 | | |
397 | 397 | | |
| 398 | + | |
398 | 399 | | |
399 | 400 | | |
400 | 401 | | |
| |||
411 | 412 | | |
412 | 413 | | |
413 | 414 | | |
414 | | - | |
| 415 | + | |
| 416 | + | |
| 417 | + | |
415 | 418 | | |
416 | 419 | | |
417 | 420 | | |
| |||
0 commit comments