MCPcopy Create free account
hub / github.com/maruel/panicparse / String

Method String

stack/location_string.go:23–28  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

21var _Location_index = [...]uint8{0, 15, 20, 26, 31, 37, 49}
22
23func (i Location) String() string {
24 if i < 0 || i >= Location(len(_Location_index)-1) {
25 return "Location(" + strconv.FormatInt(int64(i), 10) + ")"
26 }
27 return _Location_name[_Location_index[i]:_Location_index[i+1]]
28}

Callers

nothing calls this directly

Calls 1

LocationTypeAlias · 0.85

Tested by

no test coverage detected