MCPcopy 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
405func coalesce(s, fallback string) string {
406 if s == "" {
407 return fallback
408 }
409 return s
410}
411
412func boolToInt(b bool) int {
413 if b {

Callers 2

UpsertItemMethod · 0.85
UpsertItemsMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected