MCPcopy Index your code
hub / github.com/cloudfoundry/cli / ShouldCreateDroplet

Function ShouldCreateDroplet

actor/v7pushaction/sequence.go:15–17  ·  view source on GitHub ↗
(plan PushPlan)

Source from the content-addressed store, hash-verified

13}
14
15func ShouldCreateDroplet(plan PushPlan) bool {
16 return plan.DropletPath != ""
17}
18
19func ShouldStagePackage(plan PushPlan) bool {
20 return !plan.NoStart && plan.DropletPath == ""

Calls

no outgoing calls

Tested by

no test coverage detected