MCPcopy
hub / github.com/helm/helm / writeIndexFile

Function writeIndexFile

pkg/cmd/repo_index.go:117–122  ·  view source on GitHub ↗
(i *repo.IndexFile, out string, json bool)

Source from the content-addressed store, hash-verified

115}
116
117func writeIndexFile(i *repo.IndexFile, out string, json bool) error {
118 if json {
119 return i.WriteJSONFile(out, 0o644)
120 }
121 return i.WriteFile(out, 0o644)
122}

Callers 1

indexFunction · 0.85

Calls 2

WriteJSONFileMethod · 0.80
WriteFileMethod · 0.45

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…