MCPcopy
hub / github.com/helm/helm / ParseIntoFile

Function ParseIntoFile

pkg/strvals/parser.go:121–125  ·  view source on GitHub ↗

ParseIntoFile parses a filevals line and merges the result into dest. This method always returns a string as the value.

(s string, dest map[string]any, reader RunesValueReader)

Source from the content-addressed store, hash-verified

119//
120// This method always returns a string as the value.
121func ParseIntoFile(s string, dest map[string]any, reader RunesValueReader) error {
122 scanner := bytes.NewBufferString(s)
123 t := newFileParser(scanner, dest, reader)
124 return t.parse()
125}
126
127// RunesValueReader is a function that takes the given value (a slice of runes)
128// and returns the parsed value

Callers 2

MergeValuesMethod · 0.92
TestParseIntoFileFunction · 0.85

Calls 2

newFileParserFunction · 0.85
parseMethod · 0.45

Tested by 1

TestParseIntoFileFunction · 0.68

Used in the wild real call sites across dependent graphs

searching dependent graphs…