Diff_parser
val parse_whole_file : Types.file_info list Angstrom.t
val parse_string : string -> (Types.file_info list, string) Stdlib.result
Main entry point. Uses parse_whole_file
under the hood
val a_chunk : Types.chunk Angstrom.t
Parses hunk for the file
val lookup : Types.file_info list -> file:string -> line:int -> int option
The call lookup db ~file ~line
searches in the list of file differences by a file name file
and a file line line
the corresponding line of in diff file (counting from the beginning of the information about file
).
Github API requires this information to submit a review