mirror of
https://github.com/rancher/rke.git
synced 2025-09-03 16:04:26 +00:00
Go mod and vendor changes
This commit is contained in:
6
vendor/github.com/mattn/go-isatty/isatty_android.go
generated
vendored
6
vendor/github.com/mattn/go-isatty/isatty_android.go
generated
vendored
@@ -15,3 +15,9 @@ func IsTerminal(fd uintptr) bool {
|
||||
_, _, err := syscall.Syscall6(syscall.SYS_IOCTL, fd, ioctlReadTermios, uintptr(unsafe.Pointer(&termios)), 0, 0, 0)
|
||||
return err == 0
|
||||
}
|
||||
|
||||
// IsCygwinTerminal return true if the file descriptor is a cygwin or msys2
|
||||
// terminal. This is also always false on this environment.
|
||||
func IsCygwinTerminal(fd uintptr) bool {
|
||||
return false
|
||||
}
|
||||
|
2
vendor/github.com/mattn/go-isatty/isatty_others.go
generated
vendored
2
vendor/github.com/mattn/go-isatty/isatty_others.go
generated
vendored
@@ -1,4 +1,4 @@
|
||||
// +build appengine js
|
||||
// +build appengine js nacl
|
||||
|
||||
package isatty
|
||||
|
||||
|
@@ -1,4 +1,4 @@
|
||||
// +build linux
|
||||
// +build linux aix
|
||||
// +build !appengine
|
||||
// +build !android
|
||||
|
Reference in New Issue
Block a user