This file is indexed.

/usr/share/gocode/src/github.com/constabulary/gb/testdata/src/cgoonlynotest/cgoonly.go is in golang-github-constabulary-gb-dev 0.4.4-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
12
package cgoonly

/*
int add(int x, int y) {
        return x+y;
};
*/
import "C"

func Add(x, y int) int { 
	return int(C.add(_Ctype_int(x), _Ctype_int(y)))
}