Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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
180
func
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
FormatLargeResult
Method · 0.85
ApplyToolResultBudgetWithPreview
Function · 0.85
ClampToAbsoluteMax
Function · 0.85
ApplyAggregateResultBudget
Function · 0.85
hardTruncate
Function · 0.85
truncateAggregateContent
Function · 0.85
totalResultContentChars
Function · 0.85
Calls
no outgoing calls
Tested by
no test coverage detected