This file is indexed.

/usr/share/gocode/src/github.com/hashicorp/hil/ast/type_string.go is in golang-github-hashicorp-hil-dev 0.0~git20160711.1e86c6b-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
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
// Code generated by "stringer -type=Type"; DO NOT EDIT

package ast

import "fmt"

const (
	_Type_name_0 = "TypeInvalid"
	_Type_name_1 = "TypeAny"
	_Type_name_2 = "TypeString"
	_Type_name_3 = "TypeInt"
	_Type_name_4 = "TypeFloat"
	_Type_name_5 = "TypeList"
	_Type_name_6 = "TypeMap"
)

var (
	_Type_index_0 = [...]uint8{0, 11}
	_Type_index_1 = [...]uint8{0, 7}
	_Type_index_2 = [...]uint8{0, 10}
	_Type_index_3 = [...]uint8{0, 7}
	_Type_index_4 = [...]uint8{0, 9}
	_Type_index_5 = [...]uint8{0, 8}
	_Type_index_6 = [...]uint8{0, 7}
)

func (i Type) String() string {
	switch {
	case i == 0:
		return _Type_name_0
	case i == 2:
		return _Type_name_1
	case i == 4:
		return _Type_name_2
	case i == 8:
		return _Type_name_3
	case i == 16:
		return _Type_name_4
	case i == 32:
		return _Type_name_5
	case i == 64:
		return _Type_name_6
	default:
		return fmt.Sprintf("Type(%d)", i)
	}
}