diff options
author | Rutger Broekhoff | 2024-01-02 18:56:31 +0100 |
---|---|---|
committer | Rutger Broekhoff | 2024-01-02 18:56:31 +0100 |
commit | 8db41da676ac8368ef7c2549d56239a5ff5eedde (patch) | |
tree | 09c427fd66de2ec1ebffc8342f5fdbb84b0701b5 /vendor/github.com/sirupsen/logrus/terminal_check_unix.go | |
parent | d4f75fb6db22e57577867445a022227e70958931 (diff) | |
download | gitolfs3-8db41da676ac8368ef7c2549d56239a5ff5eedde.tar.gz gitolfs3-8db41da676ac8368ef7c2549d56239a5ff5eedde.zip |
Delete vendor directory
Diffstat (limited to 'vendor/github.com/sirupsen/logrus/terminal_check_unix.go')
-rw-r--r-- | vendor/github.com/sirupsen/logrus/terminal_check_unix.go | 13 |
1 files changed, 0 insertions, 13 deletions
diff --git a/vendor/github.com/sirupsen/logrus/terminal_check_unix.go b/vendor/github.com/sirupsen/logrus/terminal_check_unix.go deleted file mode 100644 index 04748b8..0000000 --- a/vendor/github.com/sirupsen/logrus/terminal_check_unix.go +++ /dev/null | |||
@@ -1,13 +0,0 @@ | |||
1 | // +build linux aix zos | ||
2 | // +build !js | ||
3 | |||
4 | package logrus | ||
5 | |||
6 | import "golang.org/x/sys/unix" | ||
7 | |||
8 | const ioctlReadTermios = unix.TCGETS | ||
9 | |||
10 | func isTerminal(fd int) bool { | ||
11 | _, err := unix.IoctlGetTermios(fd, ioctlReadTermios) | ||
12 | return err == nil | ||
13 | } | ||