MCPcopy Create free account
hub / github.com/devfile/devworkspace-operator / hasContainerComponents

Function hasContainerComponents

pkg/library/projects/clone.go:161–168  ·  view source on GitHub ↗
(workspace *dw.DevWorkspaceTemplateSpec)

Source from the content-addressed store, hash-verified

159}
160
161func hasContainerComponents(workspace *dw.DevWorkspaceTemplateSpec) bool {
162 for _, component := range workspace.Components {
163 if component.Container != nil {
164 return true
165 }
166 }
167 return false
168}

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected