fileValueSource encapsulates a ValueSource from a file
| 143 | |
| 144 | // fileValueSource encapsulates a ValueSource from a file |
| 145 | type fileValueSource struct { |
| 146 | Path string |
| 147 | } |
| 148 | |
| 149 | func (f *fileValueSource) Lookup() (string, bool) { |
| 150 | data, err := os.ReadFile(f.Path) |
nothing calls this directly
no outgoing calls
no test coverage detected