mirror of
https://github.com/TECHNOFAB11/jsonnet-bundler.git
synced 2025-12-12 16:10:04 +01:00
Update Go dependencies
This commit is contained in:
parent
09e1f13509
commit
d3d7715750
391 changed files with 73854 additions and 103071 deletions
19
vendor/github.com/mattn/go-isatty/isatty_linux.go
generated
vendored
19
vendor/github.com/mattn/go-isatty/isatty_linux.go
generated
vendored
|
|
@ -1,19 +0,0 @@
|
|||
// +build linux
|
||||
// +build !appengine
|
||||
// +build !android
|
||||
|
||||
package isatty
|
||||
|
||||
import "golang.org/x/sys/unix"
|
||||
|
||||
// IsTerminal return true if the file descriptor is terminal.
|
||||
func IsTerminal(fd uintptr) bool {
|
||||
_, err := unix.IoctlGetTermios(int(fd), unix.TCGETS)
|
||||
return err == nil
|
||||
}
|
||||
|
||||
// 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
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue