HasVendoredCodeChanges verifies if the modified file is from Godeps/_workspace/ or vendor/ directories.
()
| 116 | // HasVendoredCodeChanges verifies if the modified file is from Godeps/_workspace/ |
| 117 | // or vendor/ directories. |
| 118 | func (f File) HasVendoredCodeChanges() bool { |
| 119 | return strings.HasPrefix(string(f), "Godeps/_workspace") || |
| 120 | strings.HasPrefix(string(f), "vendor") || |
| 121 | strings.HasPrefix(string(f), "pkg/build/vendor") |
| 122 | } |
| 123 | |
| 124 | // HasGodepsChanges verifies if the modified file is Godeps/Godeps.json. |
| 125 | func (f File) HasGodepsChanges() bool { |
no outgoing calls
no test coverage detected