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)
| 119 | // |
| 120 | // This method always returns a string as the value. |
| 121 | func 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 |
searching dependent graphs…