feat(zfs-localpv): vendor packages for zfs-localpv

Signed-off-by: Pawan <pawan@mayadata.io>
This commit is contained in:
Pawan 2019-09-12 12:31:03 +05:30 committed by Kiran Mova
parent 8d81b8b9c6
commit 8a4ed4e7b8
2246 changed files with 950001 additions and 0 deletions

View file

@ -0,0 +1,17 @@
// +build !appengine,!js,!windows,!nacl,!plan9
package logrus
import (
"io"
"os"
)
func checkIfTerminal(w io.Writer) bool {
switch v := w.(type) {
case *os.File:
return isTerminal(int(v.Fd()))
default:
return false
}
}