vulndb/cmd/inspect
Tatiana Bradley 10c3808cf5 all, internal/report: refactor logic to read reports from vulndb repo
Package the logic to read reports from a vulndb-like repo into
a Client, and update all callers.

For now, the behavior under the hood is basically the same as it was, but
the callers do not need to carry around the specific maps needed
to access certain information.

Change-Id: I7bd28bfbf2a40d5d2bc37453051f866517086f23
Reviewed-on: https://go-review.googlesource.com/c/vulndb/+/562177
Reviewed-by: Damien Neil <dneil@google.com>
LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com>
2024-02-21 15:53:16 +00:00
..
main.go all, internal/report: refactor logic to read reports from vulndb repo 2024-02-21 15:53:16 +00:00