prow/gitattributes/gitattributes.go
func (g *Group) IsLinguistGenerated(path string) bool {
	for _, p := range g.LinguistGeneratedPatterns {
		if p.Match(path) {
			return true
		}
	}
	return false
}
func (g *Group) IsLinguistGenerated(path string) bool {
	for _, p := range g.LinguistGeneratedPatterns {
		if p.Match(path) {
			return true
		}
	}
	return false
}
// IsLinguistGenerated determines whether a file, given here by its full path
// is included in the .gitattributes linguist-generated group.
// These files are excluded from language stats and suppressed in diffs.
// https://github.com/github/linguist/#generated-code
// Unmarked paths (linguist-generated=false) are not supported.