Return a mapping of package data collected from the opam OCaml package manifest file at ``location``.
(location)
| 166 | |
| 167 | |
| 168 | def parse_opam(location): |
| 169 | """ |
| 170 | Return a mapping of package data collected from the opam OCaml package |
| 171 | manifest file at ``location``. |
| 172 | """ |
| 173 | with open(location) as od: |
| 174 | text = od.read() |
| 175 | return parse_opam_from_text(text) |
| 176 | |
| 177 | |
| 178 | def parse_opam_from_text(text): |
no test coverage detected