/usr/share/gocode/src/github.com/akavel/rsrc/binutil/plain.go is in golang-github-akavel-rsrc-dev 2+git20151103.6.ba14da1-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 | package binutil
import (
"reflect"
)
func Plain(kind reflect.Kind) bool {
switch kind {
case reflect.Bool, reflect.Int, reflect.Int8, reflect.Int16, reflect.Int32, reflect.Int64, reflect.Uint, reflect.Uint8, reflect.Uint16, reflect.Uint32, reflect.Uint64, reflect.Uintptr, reflect.Float32, reflect.Float64, reflect.Complex64, reflect.Complex128:
return true
}
return false
}
|