1
0
Fork 0
mirror of https://github.com/vbatts/go-mtree.git synced 2025-07-26 00:00:29 +00:00

vendor: convert from glide to dep

```shell
go get -u -v github.com/golang/dep
dep init
```

Signed-off-by: Vincent Batts <vbatts@hashbangbash.com>
This commit is contained in:
Vincent Batts 2019-01-21 10:59:59 -05:00
parent 53e54ea2f7
commit 94a6c46bde
Signed by: vbatts
GPG key ID: 10937E57733F1362
678 changed files with 119 additions and 224558 deletions

16
vendor/github.com/mattn/go-isatty/isatty_solaris.go generated vendored Normal file
View file

@ -0,0 +1,16 @@
// +build solaris
// +build !appengine
package isatty
import (
"golang.org/x/sys/unix"
)
// IsTerminal returns true if the given file descriptor is a terminal.
// see: http://src.illumos.org/source/xref/illumos-gate/usr/src/lib/libbc/libc/gen/common/isatty.c
func IsTerminal(fd uintptr) bool {
var termio unix.Termio
err := unix.IoctlSetTermio(int(fd), unix.TCGETA, &termio)
return err == nil
}