8000 Update comment above first extraction of packages · github/codeql-go@4e71ab5 · GitHub
[go: up one dir, main page]

Skip to content
10000
This repository was archived by the owner on Jan 5, 2023. It is now read-only.

Commit 4e71ab5

Browse files
owen-mcsmowton
authored andcommitted
Update comment above first extraction of packages
1 parent 25b91d8 commit 4e71ab5

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

extractor/extractor.go

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -109,9 +109,7 @@ func ExtractWithFlags(buildFlags []string, patterns []string) error {
109109
// root directories of packages that we want to extract
110110
wantedRoots := make(map[string]bool)
111111

112-
// recursively visit all packages in depth-first order;
113-
// on the way down, associate each package scope with its corresponding package,
114-
// and on the way up extract the package's scope
112+
// Do a post-order traversal and extract the package scope of each package
115113
packages.Visit(pkgs, func(pkg *packages.Package) bool {
116114
return true
117115
}, func(pkg *packages.Package) {

0 commit comments

Comments
 (0)
0