/usr/share/gocode/src/github.com/pkg/sftp/server_stubs.go is in golang-github-pkg-sftp-dev 0.0~git20160930.0.4d0e916-1.
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 12 | // +build !cgo,!plan9 windows android
package sftp
import (
"os"
"path"
)
func runLs(dirname string, dirent os.FileInfo) string {
return path.Join(dirname, dirent.Name())
}
|