MCPcopy Index your code
hub / github.com/helm/helm / ChartFullPath

Method ChartFullPath

internal/chart/v3/chart.go:122–127  ·  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

120// Note that the path may not correspond to the path where the file can be found on the file system if the path
121// points to an aliased subchart.
122func (ch *Chart) ChartFullPath() string {
123 if !ch.IsRoot() {
124 return ch.Parent().ChartFullPath() + "/charts/" + ch.Name()
125 }
126 return ch.Name()
127}
128
129// Validate validates the metadata.
130func (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