package patdiff

  1. Overview
  2. Docs
Legend:
Page
Library
Module
Module type
Parameter
Class
Class type
Source

Source file ascii_output.ml

1
2
3
4
5
6
7
8
9
10
11
12
13
14
open! Core
open! Import


module Rule = struct
  let apply s ~rule ~refined:_ =
    Ansi_output.Rule.apply s ~rule:(Format.Rule.strip_styles rule) ~refined:false
  ;;
end

let print ~print_global_header ~file_names ~rules ~print ~location_style hunks =
  let rules = Format.Rules.strip_styles rules in
  Ansi_output.print ~print_global_header ~file_names ~rules ~print ~location_style hunks
;;
OCaml

Innovation. Community. Security.