Module Vcs.Num_lines_in_diffSource

Number of lines involved in a change.

Git returns this as a pair of positive integers, which are the number of insertions and number of deletions. Both are a positive or null integer counting a number of lines.

Sourcetype t = {
  1. insertions : int;
  2. deletions : int;
}
Sourceval sexp_of_t : t -> Sexplib0.Sexp.t
Sourceval compare : t -> t -> int
Sourceval equal : t -> t -> bool
Sourceval zero : t
Sourceval (+) : t -> t -> t
Sourceval sum : t list -> t
Sourceval is_zero : t -> bool
Sourceval to_string_hum : t -> string

Returns a short string suitable for human consumption. Some examples: ["0"; "+100"; "-15"; "+1,999, -13,898"].

Sourceval total : t -> int

The addition of the insertions and deletions.