vendor: revendor

This commit is contained in:
rithu john
2016-12-07 14:28:11 -08:00
parent 5c4cc9f5fe
commit 6033c45976
209 changed files with 100260 additions and 2 deletions

15
vendor/github.com/Sirupsen/logrus/terminal_solaris.go generated vendored Normal file
View File

@@ -0,0 +1,15 @@
// +build solaris,!appengine
package logrus
import (
"os"
"golang.org/x/sys/unix"
)
// IsTerminal returns true if the given file descriptor is a terminal.
func IsTerminal() bool {
_, err := unix.IoctlGetTermios(int(os.Stdout.Fd()), unix.TCGETA)
return err == nil
}