(w io.Writer)
| 261 | } |
| 262 | |
| 263 | func checkIfTerminal(w io.Writer) bool { |
| 264 | switch v := w.(type) { |
| 265 | case *os.File: |
| 266 | return term.IsTerminal(int(v.Fd())) |
| 267 | default: |
| 268 | return false |
| 269 | } |
| 270 | } |
no outgoing calls
no test coverage detected
searching dependent graphs…