This file is indexed.

/usr/share/gocode/src/github.com/pkg/sftp/request-unix.go is in golang-github-pkg-sftp-dev 0.0~git20170704.0.e97b9a4-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
13
14
15
16
17
18
19
20
21
22
23
// +build !windows

package sftp

import (
	"errors"
	"syscall"
)

func fakeFileInfoSys() interface{} {
	return &syscall.Stat_t{Uid: 65534, Gid: 65534}
}

func testOsSys(sys interface{}) error {
	fstat := sys.(*FileStat)
	if fstat.UID != uint32(65534) {
		return errors.New("Uid failed to match.")
	}
	if fstat.GID != uint32(65534) {
		return errors.New("Gid failed to match:")
	}
	return nil
}