MCPcopy Create free account
hub / github.com/OctopusDeploy/cli / formatProcessList

Function formatProcessList

pkg/cmd/project/variables/view/view.go:312–316  ·  view source on GitHub ↗
(processes []*resources.ProcessReferenceDataItem)

Source from the content-addressed store, hash-verified

310}
311
312func formatProcessList(processes []*resources.ProcessReferenceDataItem) string {
313 return strings.Join(util.SliceTransform(processes, func(item *resources.ProcessReferenceDataItem) string {
314 return item.Name
315 }), ", ")
316}

Callers 1

Calls 1

SliceTransformFunction · 0.92

Tested by

no test coverage detected