MCPcopy Create free account
hub / github.com/OverloadBlitz/cloudcent-cli / splitNonEmpty

Function splitNonEmpty

internal/tui/app.go:584–593  ·  view source on GitHub ↗

── Helpers ───────────────────────────────────────────────────────────────────

(s, sep string)

Source from the content-addressed store, hash-verified

582// ── Helpers ───────────────────────────────────────────────────────────────────
583
584func splitNonEmpty(s, sep string) []string {
585 parts := strings.Split(s, sep)
586 var out []string
587 for _, p := range parts {
588 if p != "" {
589 out = append(out, p)
590 }
591 }
592 return out
593}

Callers 1

handleHistoryEventMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected