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.
()
| 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. |
| 125 | func (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. |
| 133 | func (ch *Chart) Validate() error { |