]> Cypherpunks repositories - gostls13.git/commit
internal/coverage: refactor EmitTextual in preparation for bugfix master
authorThan McIntosh <thanm@golang.org>
Tue, 12 Nov 2024 17:12:44 +0000 (12:12 -0500)
committerThan McIntosh <thanm@golang.org>
Fri, 17 Jan 2025 16:40:47 +0000 (08:40 -0800)
commit40b3c0e58a0ae8dec4684a009bf3806769e0fc41
tree7b8df99c77e5409b9f5127e54ad562e7460e0d0c
parent87023bb27f2cbe86c5baa9cef5ad91a6fc9a1c14
internal/coverage: refactor EmitTextual in preparation for bugfix

Refactor cformat.EmitTextual 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 #70244.

Change-Id: I1e6bcbfb5e68187d4d69d54b667e97bc1fdfa2d4
Reviewed-on: https://go-review.googlesource.com/c/go/+/627315
Reviewed-by: David Chase <drchase@google.com>
Reviewed-by: Michael Knyszek <mknyszek@google.com>
LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.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