Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
hub
/
github.com/docker/compose
/ IsEmpty
Method
IsEmpty
pkg/compose/plan.go:174–176 ·
view source on GitHub ↗
IsEmpty returns true if the plan contains no operations.
()
Source
from the content-addressed store, hash-verified
172
173
// IsEmpty returns true if the plan contains no operations.
174
func
(p *Plan) IsEmpty() bool {
175
return
len(p.Nodes) == 0
176
}
Callers
13
TestPlanStringEmpty
Function · 0.95
TestPlanStringNoDeps
Function · 0.95
run
Method · 0.45
TestReconcileNetworks_ExistingMatch
Function · 0.45
TestReconcileNetworks_ExternalSkipped
Function · 0.45
TestReconcileVolumes_ExistingMatch
Function · 0.45
TestReconcileVolumes_ExternalSkipped
Function · 0.45
TestReconcileVolumes_DivergedIsIgnored
Function · 0.45
TestReconcileContainers_AlreadyRunning
Function · 0.45
TestReconcileContainers_NeverRecreate
Function · 0.45
TestReconcileContainers_ExitedIsNoop
Function · 0.45
TestReconcileContainers_ServiceReference_NoRecreate
Function · 0.45
Calls
no outgoing calls
Tested by
12
TestPlanStringEmpty
Function · 0.76
TestPlanStringNoDeps
Function · 0.76
TestReconcileNetworks_ExistingMatch
Function · 0.36
TestReconcileNetworks_ExternalSkipped
Function · 0.36
TestReconcileVolumes_ExistingMatch
Function · 0.36
TestReconcileVolumes_ExternalSkipped
Function · 0.36
TestReconcileVolumes_DivergedIsIgnored
Function · 0.36
TestReconcileContainers_AlreadyRunning
Function · 0.36
TestReconcileContainers_NeverRecreate
Function · 0.36
TestReconcileContainers_ExitedIsNoop
Function · 0.36
TestReconcileContainers_ServiceReference_NoRecreate
Function · 0.36
TestProviderMetadata_IsEmpty
Function · 0.36