aboutsummaryrefslogtreecommitdiffstats
path: root/vendor/github.com/sourcegraph/go-diff
diff options
context:
space:
mode:
authorDmitry Vyukov <dvyukov@google.com>2021-03-16 13:36:59 +0100
committerDmitry Vyukov <dvyukov@google.com>2021-03-18 09:17:51 +0100
commit8833b464504c55a0726372a352528f0a6b3d8d24 (patch)
tree4ba44d96b9bac34f2b4645b4cfdaa1bd2ee0ed3b /vendor/github.com/sourcegraph/go-diff
parent2649114619f2c83ca9beb0e122445b1820cc1646 (diff)
pkg/cover: pass modules as []host.KernelModule
Pass modules as []host.KernelModule to cover.MakeReportGenerator. This avoids make(map) in callers that don't pass modules. Store modules as []*KernelModule. This avoids clumsy assignments to the map to update Path and allows to store modules as *KernelModule rather than by name (we are not scripting, pointer is more flexible and handy representation).
Diffstat (limited to 'vendor/github.com/sourcegraph/go-diff')
0 files changed, 0 insertions, 0 deletions