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

Function newFiles

pkg/engine/files.go:34–40  ·  view source on GitHub ↗

NewFiles creates a new files from chart files. Given an []*chart.File (the format for files in a chart.Chart), extract a map of files.

(from []*common.File)

Source from the content-addressed store, hash-verified

32// NewFiles creates a new files from chart files.
33// Given an []*chart.File (the format for files in a chart.Chart), extract a map of files.
34func newFiles(from []*common.File) files {
35 files := make(map[string][]byte)
36 for _, f := range from {
37 files[f.Name] = f.Data
38 }
39 return files
40}
41
42// GetBytes gets a file by path.
43//

Callers 2

recAllTplsFunction · 0.85
GlobMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…