mirror of
https://github.com/weaveworks/scope.git
synced 2026-05-21 08:33:05 +00:00
For some reason, `Sirupsen/logrus` was still in `emicklei/go-restful-openapi`: ``` $ git grep Sirupsen vendor/github.com/emicklei/go-restful-openapi/examples/security/api.go: "github.com/Sirupsen/logrus" ``` After running: ``` $ gvt delete github.com/emicklei/go-restful-openapi $ gvt delete github.com/marccarre/go-restful-openapi $ gvt fetch --revision 129557de7d9f2d2ca4a90cd31c379db90a561ad8 --branch lowercase-sirupsen github.com/marccarre/go-restful-openapi 2018/07/23 17:28:40 Fetching: github.com/marccarre/go-restful-openapi 2018/07/23 17:28:42 · Fetching recursive dependency: github.com/emicklei/go-restful-openapi 2018/07/23 17:28:44 ·· Skipping (existing): github.com/go-openapi/spec 2018/07/23 17:28:44 ·· Skipping (existing): github.com/emicklei/go-restful 2018/07/23 17:28:44 ·· Fetching recursive dependency: github.com/Sirupsen/logrus 2018/07/23 17:28:46 ··· Skipping (existing): github.com/sirupsen/logrus 2018/07/23 17:28:46 ··· Skipping (existing): golang.org/x/crypto/ssh/terminal 2018/07/23 17:28:46 ··· Skipping (existing): golang.org/x/sys/unix 2018/07/23 17:28:46 · Skipping (existing): github.com/go-openapi/spec 2018/07/23 17:28:46 · Skipping (existing): github.com/sirupsen/logrus 2018/07/23 17:28:46 · Skipping (existing): github.com/emicklei/go-restful $ rm -fr vendor/github.com/Sirupsen/ $ git reset HEAD vendor/manifest $ git checkout -- vendor/manifest $ gvt delete github.com/sirupsen/logrus $ gvt fetch --tag v1.0.6 github.com/sirupsen/logrus ``` it was gone.
15 lines
330 B
Go
15 lines
330 B
Go
// Based on ssh/terminal:
|
|
// Copyright 2013 The Go Authors. All rights reserved.
|
|
// Use of this source code is governed by a BSD-style
|
|
// license that can be found in the LICENSE file.
|
|
|
|
// +build !appengine,!gopherjs
|
|
|
|
package logrus
|
|
|
|
import "golang.org/x/sys/unix"
|
|
|
|
const ioctlReadTermios = unix.TCGETS
|
|
|
|
type Termios unix.Termios
|