mirage / ocaml-github

GitHub APIv3 OCaml bindings
ISC License
100 stars 61 forks source link

Expose Repo.get_ref #175

Closed samoht closed 7 years ago

samoht commented 7 years ago

The refs function is expecting an array of refs, whereas get_ref just expect one ref.

samoht commented 7 years ago

I've fixed the doc. Not sure about the other comment, I have just copied what we do for get_tag.

samoht commented 7 years ago

(e.g. it's the responsibility of the caller to catch any exception in that case)