MCPcopy
hub / github.com/google/go-jsonnet / evaluateInt64

Method evaluateInt64

interpreter.go:1113–1119  ·  view source on GitHub ↗

nolint:unused

(pv potentialValue)

Source from the content-addressed store, hash-verified

1111
1112//nolint:unused
1113func (i *interpreter) evaluateInt64(pv potentialValue) (int64, error) {
1114 v, err := i.evaluatePV(pv)
1115 if err != nil {
1116 return 0, err
1117 }
1118 return i.getInt64(v)
1119}
1120
1121func (i *interpreter) getString(val value) (valueString, error) {
1122 switch v := val.(type) {

Callers

nothing calls this directly

Calls 2

evaluatePVMethod · 0.95
getInt64Method · 0.95

Tested by

no test coverage detected