]> Cypherpunks repositories - gostls13.git/commit
internal/coverage: refactor EmitPercent in preparation for bugfix
authorThan McIntosh <thanm@google.com>
Wed, 12 Jun 2024 21:54:53 +0000 (21:54 +0000)
committerThan McIntosh <thanm@google.com>
Fri, 14 Jun 2024 11:45:22 +0000 (11:45 +0000)
commit7196db9e66529cb3e81cbc401557358047543c2f
tree1c9c09bb9a39489b221d899a22ccd99cda8a2efe
parent1683628d29ca77f9c44804c987c3570c89ffd29d
internal/coverage: refactor EmitPercent in preparation for bugfix

Refactor cformat.EmitPercent to accept a package filter (list of
packages to report). This is a no-op in terms of exposed coverage
functionality, but we will need this feature in a subsequent patch.

Updates #65570.

Change-Id: I04ddc624a634837ea31c12ec395aa1295a0ea1f1
Reviewed-on: https://go-review.googlesource.com/c/go/+/592204
LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com>
Reviewed-by: David Chase <drchase@google.com>
src/cmd/covdata/dump.go
src/internal/coverage/cfile/testsupport.go
src/internal/coverage/cformat/fmt_test.go
src/internal/coverage/cformat/format.go