MCPcopy Index your code
hub / github.com/docker/cli / postfixWith

Function postfixWith

cli/command/system/completion.go:131–137  ·  view source on GitHub ↗

postfixWith appends postfix to every element in the slice.

(postfix string, values []string)

Source from the content-addressed store, hash-verified

129
130// postfixWith appends postfix to every element in the slice.
131func postfixWith(postfix string, values []string) []string {
132 result := make([]string, len(values))
133 for i, v := range values {
134 result[i] = v + postfix
135 }
136 return result
137}
138
139// eventTypeNames provides a list of all event types.
140// The list is derived from eventTypes.

Callers 1

completeEventFiltersFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…