/usr/share/gocode/src/github.com/kr/pty/pty_unsupported.go is in golang-github-kr-pty-dev 0.0~git20151007.0.f7ee69f-2.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 | // +build !linux,!darwin,!freebsd
package pty
import (
"os"
)
func open() (pty, tty *os.File, err error) {
return nil, nil, ErrUnsupported
}
|