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