MCPcopy Create free account
hub / github.com/compozy/agh / firstNonEmptyString

Function firstNonEmptyString

internal/daemon/memory_runtime.go:1313–1320  ·  view source on GitHub ↗
(values ...string)

Source from the content-addressed store, hash-verified

1311}
1312
1313func firstNonEmptyString(values ...string) string {
1314 for _, value := range values {
1315 if trimmed := strings.TrimSpace(value); trimmed != "" {
1316 return trimmed
1317 }
1318 }
1319 return ""
1320}
1321
1322var _ memcontract.MemoryProvider = (*localprovider.Provider)(nil)
1323var _ extractorpkg.ProposalSink = (*daemonMemoryProposalSink)(nil)

Callers 7

newDaemonMemoryExtractorFunction · 0.70
readExtractorFailureFunction · 0.70
failureCandidateMetadataFunction · 0.70
resolveWorkspaceMethod · 0.70
ExtractMethod · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected