MCPcopy
hub / github.com/helm/helm / IsRoot

Method IsRoot

pkg/chart/v2/chart.go:109–109  ·  view source on GitHub ↗

IsRoot determines if the chart is the root chart.

()

Source from the content-addressed store, hash-verified

107
108// IsRoot determines if the chart is the root chart.
109func (ch *Chart) IsRoot() bool { return ch.parent == nil }
110
111// Parent returns a subchart's parent chart.
112func (ch *Chart) Parent() *Chart { return ch.parent }

Callers 4

TestIsRootFunction · 0.95
RootMethod · 0.95
ChartPathMethod · 0.95
ChartFullPathMethod · 0.95

Calls

no outgoing calls

Tested by 1

TestIsRootFunction · 0.76