From 6ea368c383ccc19678623c51d8e4ecbbdb0a64ac Mon Sep 17 00:00:00 2001 From: Wim Date: Tue, 20 Feb 2018 23:41:09 +0100 Subject: Move Sirupsen => sirupsen --- .../github.com/Sirupsen/logrus/terminal_solaris.go | 21 --------------------- 1 file changed, 21 deletions(-) delete mode 100644 vendor/github.com/Sirupsen/logrus/terminal_solaris.go (limited to 'vendor/github.com/Sirupsen/logrus/terminal_solaris.go') diff --git a/vendor/github.com/Sirupsen/logrus/terminal_solaris.go b/vendor/github.com/Sirupsen/logrus/terminal_solaris.go deleted file mode 100644 index 3c86b1ab..00000000 --- a/vendor/github.com/Sirupsen/logrus/terminal_solaris.go +++ /dev/null @@ -1,21 +0,0 @@ -// +build solaris,!appengine - -package logrus - -import ( - "io" - "os" - - "golang.org/x/sys/unix" -) - -// IsTerminal returns true if the given file descriptor is a terminal. -func IsTerminal(f io.Writer) bool { - switch v := f.(type) { - case *os.File: - _, err := unix.IoctlGetTermios(int(v.Fd()), unix.TCGETA) - return err == nil - default: - return false - } -} -- cgit v1.2.3