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

Method WriteJSON

pkg/cmd/get_metadata.go:110–112  ·  view source on GitHub ↗
(out io.Writer)

Source from the content-addressed store, hash-verified

108}
109
110func (w metadataWriter) WriteJSON(out io.Writer) error {
111 return output.EncodeJSON(out, w.metadata)
112}
113
114func (w metadataWriter) WriteYAML(out io.Writer) error {
115 return output.EncodeYAML(out, w.metadata)

Callers

nothing calls this directly

Calls 1

EncodeJSONFunction · 0.92

Tested by

no test coverage detected