This file is indexed.

/usr/share/gocode/src/github.com/linuxkit/virtsock/pkg/vsock/fallback.go is in golang-github-linuxkit-virtsock-dev 0.0~git20170720.0.0416e3d-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
24
// +build !linux,!darwin

package vsock

import (
	"fmt"
	"log"
	"net"
)

// SocketMode is the unimplemented fallback for unsupported OSes
func SocketMode(socketMode string) {
	log.Fatalln("Unimplemented")
}

// Dial is the unimplemented fallback for unsupported OSes
func Dial(cid, port uint32) (Conn, error) {
	return nil, fmt.Errorf("Unimplemented")
}

// Listen is the unimplemented fallback for unsupported OSes
func Listen(cid, port uint32) (net.Listener, error) {
	return nil, fmt.Errorf("Unimplemented")
}