Update vendoring and fix Windows build

We were missing one repo needed for Windows; but we have also not deleted
a bunch of vendored code that we are no longer using.

Signed-off-by: Justin Cormack <justin.cormack@docker.com>
This commit is contained in:
Justin Cormack
2017-05-15 17:43:04 +01:00
parent 8c59c66943
commit 4751d70b18
312 changed files with 2639 additions and 48406 deletions

21
vendor/github.com/Azure/go-ansiterm/utilities.go generated vendored Normal file
View File

@@ -0,0 +1,21 @@
package ansiterm
import (
"strconv"
)
func sliceContains(bytes []byte, b byte) bool {
for _, v := range bytes {
if v == b {
return true
}
}
return false
}
func convertBytesToInteger(bytes []byte) int {
s := string(bytes)
i, _ := strconv.Atoi(s)
return i
}