ParseFile parses the PE given the file system path and parser options.
(path string, opts ...Option)
| 153 | |
| 154 | // ParseFile parses the PE given the file system path and parser options. |
| 155 | func ParseFile(path string, opts ...Option) (*PE, error) { |
| 156 | return parse(path, nil, opts...) |
| 157 | } |
| 158 | |
| 159 | // ParseFileWithConfig parses the PE given the file system path and the config |
| 160 | // which is usually read from the YAML file. Config flags are converted to parser |