Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/GongShichen/LuminaCode
/ firstNonEmptyString
Function
firstNonEmptyString
mcp/protocol.go:163–168 ·
view source on GitHub ↗
(value, fallback string)
Source
from the content-addressed store, hash-verified
161
}
162
163
func
firstNonEmptyString(value, fallback string) string {
164
if
value !=
""
{
165
return
value
166
}
167
return
fallback
168
}
169
170
type
jsonPair
struct
{
171
Key string
Callers
1
SerializeMessage
Function · 0.70
Calls
no outgoing calls
Tested by
no test coverage detected