MCPcopy Create free account
hub / github.com/git-bug/git-bug / IsTerminal

Method IsTerminal

commands/execenv/env.go:122–127  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

120}
121
122func (o out) IsTerminal() bool {
123 if f, ok := o.Writer.(*os.File); ok {
124 return isTerminal(f)
125 }
126 return false
127}
128
129func (o out) Width() int {
130 if f, ok := o.Raw().(*os.File); ok {

Callers

nothing calls this directly

Calls 1

isTerminalFunction · 0.85

Tested by

no test coverage detected