Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/Chat2AnyLLM/code-agent-manager
/ coalesce
Function
coalesce
internal/metadata/store.go:405–410 ·
view source on GitHub ↗
(s, fallback string)
Source
from the content-addressed store, hash-verified
403
}
404
405
func
coalesce(s, fallback string) string {
406
if
s ==
""
{
407
return
fallback
408
}
409
return
s
410
}
411
412
func
boolToInt(b bool) int {
413
if
b {
Callers
2
UpsertItem
Method · 0.85
UpsertItems
Method · 0.85
Calls
no outgoing calls
Tested by
no test coverage detected