(path string, valuePtr any)
| 57 | } |
| 58 | |
| 59 | func ParseFile(path string, valuePtr any) error { |
| 60 | return ParseFileWithExtension(path, filepath.Ext(path), valuePtr) |
| 61 | } |
| 62 | |
| 63 | // ParseFileWithExtension lets the caller override the extension of the `path` filename |
| 64 | // For example, project.csproj files should be treated as having extension .xml |
no test coverage detected