MCPcopy
hub / github.com/smallstep/cli / allEmpty

Function allEmpty

command/ca/init.go:862–869  ·  view source on GitHub ↗

allEmpty loops through all strings in the slice and returns if all are empty (length 0).

(parts []string)

Source from the content-addressed store, hash-verified

860// allEmpty loops through all strings in the slice and returns if
861// all are empty (length 0).
862func allEmpty(parts []string) bool {
863 for _, p := range parts {
864 if p != "" {
865 return false
866 }
867 }
868 return true
869}

Callers 1

processDNSValueFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…