package git_split

  1. Overview
  2. Docs
val update : [> `Key of [> `ASCII of char | `Arrow of [> `Down | `Left | `Right | `Up ] | `Enter ] * 'a ] -> TuiModel.model -> TuiModel.model
val render_line : TuiTypes.line -> bool -> Notty.image
val render_hunk : TuiTypes.hunk -> int -> bool -> Notty.image list option -> Notty.image list
val render_file : TuiTypes.file -> bool -> Notty.image list option -> Notty.image list
val render_model : TuiModel.model -> Notty.image list
val count_hunk_visible_lines : TuiTypes.hunk -> int
val count_file_visible_lines : TuiTypes.file -> int
val cursor_index : TuiModel.model -> int
val view : TuiModel.model -> int -> Notty.image
val any_lines_selected : TuiTypes.file Zipper.zipper -> bool
val run : TuiModel.model -> TuiModel.model option
val tui_line_of_diff_line : [< `AddedLine of string | `ContextLine of string | `RemovedLine of string ] -> TuiTypes.line
val model_of_diff : Diff.diff -> TuiModel.model option
val model_files : TuiModel.model -> TuiTypes.file list
val diff_line_of_model_line : TuiTypes.line -> [> `AddedLine of string | `ContextLine of string | `RemovedLine of string ] option
val diff_of_model : TuiModel.model -> Diff.diff
OCaml

Innovation. Community. Security.