We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 62a16eb commit 640392aCopy full SHA for 640392a
instrumenter.go
@@ -43,8 +43,9 @@ type instrumenter struct {
43
exprs int // counter to generate unique variables for switch expressions
44
}
45
46
-// instrument modifies the code of the Go package in dir by adding counters for
47
-// code coverage. If base is given, only that file is instrumented.
+// instrument modifies the code of the Go package in srcDir by adding counters
+// for code coverage, writing the instrumented code to dstDir.
48
+// If base is given, only that file is instrumented.
49
func (i *instrumenter) instrument(srcDir, base, dstDir string) {
50
i.fset = token.NewFileSet()
51
0 commit comments