MCPcopy
hub / github.com/helm/helm / ExpandFile

Function ExpandFile

pkg/chart/v2/util/expand.go:104–111  ·  view source on GitHub ↗

ExpandFile expands the src file into the dest directory.

(dest, src string)

Source from the content-addressed store, hash-verified

102
103// ExpandFile expands the src file into the dest directory.
104func ExpandFile(dest, src string) error {
105 h, err := os.Open(src)
106 if err != nil {
107 return err
108 }
109 defer h.Close()
110 return Expand(dest, h)
111}

Callers 1

TestExpandFileFunction · 0.70

Calls 2

CloseMethod · 0.80
ExpandFunction · 0.70

Tested by 1

TestExpandFileFunction · 0.56

Used in the wild real call sites across dependent graphs

searching dependent graphs…