MCPcopy Create free account
hub / github.com/openshift/origin / HasNonVendoredCodeChanges

Method HasNonVendoredCodeChanges

tools/rebasehelpers/util/git.go:86–93  ·  view source on GitHub ↗

HasNonVendoredCodeChanges verifies if the commit didn't modify Godeps/_workspace/ or vendor directories.

()

Source from the content-addressed store, hash-verified

84// HasNonVendoredCodeChanges verifies if the commit didn't modify Godeps/_workspace/
85// or vendor directories.
86func (c Commit) HasNonVendoredCodeChanges() bool {
87 for _, file := range c.Files {
88 if !file.HasVendoredCodeChanges() {
89 return true
90 }
91 }
92 return false
93}
94
95func (c Commit) GodepsReposChanged() ([]string, error) {
96 repos := map[string]struct{}{}

Calls 1

Tested by

no test coverage detected