MCPcopy Create free account
hub / github.com/remotemobprogramming/mob / deleteEmptyStrings

Function deleteEmptyStrings

mob.go:1159–1167  ·  view source on GitHub ↗
(s []string)

Source from the content-addressed store, hash-verified

1157}
1158
1159func deleteEmptyStrings(s []string) []string {
1160 var r []string
1161 for _, str := range s {
1162 if str != "" {
1163 r = append(r, str)
1164 }
1165 }
1166 return r
1167}
1168
1169func gitWithoutEmptyStrings(args ...string) {
1170 argsWithoutEmptyStrings := deleteEmptyStrings(args)

Callers 1

gitWithoutEmptyStringsFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected