MCPcopy Create free account
hub / github.com/GongShichen/LuminaCode / charLen

Function charLen

tools/budget.go:180–182  ·  view source on GitHub ↗
(s string)

Source from the content-addressed store, hash-verified

178}
179
180func stringFromMap(m map[string]any, key string) string {
181 if s, ok := m[key].(string); ok {
182 return s
183 }
184 return ""
185}

Callers 7

FormatLargeResultMethod · 0.85
ClampToAbsoluteMaxFunction · 0.85
hardTruncateFunction · 0.85
truncateAggregateContentFunction · 0.85
totalResultContentCharsFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected