cmd/vet: vet XTestGoFiles without directory walk #22296
Problem exists with all versions of go.
Using files causes errors when there are external packages in the directory (ex:
Using a directory walks the entire tree, which makes it impossible to ignore specific paths.
I propose to fix this issue by adding a