MCPcopy
hub / github.com/helm/helm / ChartFullPath

Method ChartFullPath

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

ChartFullPath returns the full path to this chart. Note that the path may not correspond to the path where the file can be found on the file system if the path points to an aliased subchart.

()

Source from the content-addressed store, hash-verified

123// Note that the path may not correspond to the path where the file can be found on the file system if the path
124// points to an aliased subchart.
125func (ch *Chart) ChartFullPath() string {
126 if !ch.IsRoot() {
127 return ch.Parent().ChartFullPath() + "/charts/" + ch.Name()
128 }
129 return ch.Name()
130}
131
132// Validate validates the metadata.
133func (ch *Chart) Validate() error {

Callers 2

TestChartFullPathFunction · 0.95
CRDObjectsMethod · 0.95

Calls 4

IsRootMethod · 0.95
ParentMethod · 0.95
NameMethod · 0.95
ChartFullPathMethod · 0.65

Tested by 1

TestChartFullPathFunction · 0.76