package drom_lib

  1. Overview
  2. Docs

Module Drom_lib.CommandHeadersSource

Sourcetype header_sep = {
  1. sep_name : string;
  2. sep_regexp : Str.regexp;
  3. sep_add_line : int;
  4. mutable sep_headers : header list;
}
Sourceand header = {
  1. header_id : string;
  2. header_lines : string list;
  3. header_sep : header_sep;
  4. mutable header_files : (int * file) list;
}
Sourceand file = {
  1. file_name : string;
  2. file_headers : (int * header) list;
}
Sourcetype config = {
  1. ignore_headers : EzCompat.StringSet.t;
  2. ignore_files : EzCompat.StringSet.t;
  3. ignore_extensions : EzCompat.StringSet.t;
}
Sourcetype env = {
  1. config : config;
  2. headers : (string, header) Hashtbl.t;
  3. mutable files : (string, file) Hashtbl.t;
  4. mutable save_to_ignore : EzCompat.StringSet.t;
}
Sourceval ignore_files_filename : string
Sourceval ignore_files_more_filename : string
Sourceval ignore_headers_filename : string
Sourceval homedir : string
Sourceval config_dir : string
Sourceval max_header_lines : int ref
Sourceval min_char_repetition : int ref
Sourceval stars : string
Sourceval spaces : string
Sourceval new_header_sep : ?sep_add_line:int -> string -> string -> header_sep
Sourceval ml_header : header_sep
Sourceval cc_header : header_sep
Sourceval sh_header : header_sep
Sourceval reset_headers : env -> unit
Sourceval is_header_sep : string -> header_sep -> bool
Sourceval new_header_id : string -> string
Sourceval new_header : env -> header_sep -> 'a -> string list -> ('a * header) list
Sourceval read_headers : env -> string list -> header_sep -> (int * header) list
Sourceval record_header : ?config:bool -> env -> string -> header_sep -> unit
Sourceval list_ignore_files : config -> EzCompat.StringSet.elt list -> config
Sourceval list_ignore_headers : config -> EzCompat.StringSet.elt list -> config
Sourceval add_default_ignored : config -> config
Sourceval scan_dir : env -> string -> unit
Sourceval check_file : env -> EzCompat.StringSet.elt -> string -> unit
Sourceval scan_dirs : env -> string list -> unit
Sourceval fprintf_loc : out_channel -> string -> int -> unit
Sourceval print_headers : EzCompat.StringSet.t -> header_sep -> string -> unit
Sourceval save_ignored : env -> unit
Sourceval remove_empty_lines : string list -> string list
Sourceval replace_header : header -> header -> int -> file -> bool
Sourceval add_default_header : header -> file -> bool
Sourcetype args = {
  1. mutable arg_add_default : string list;
  2. mutable arg_dirs : string list;
  3. mutable arg_replace : string list;
  4. mutable arg_replace_by : string option;
  5. mutable arg_skip_headers : EzCompat.StringSet.t;
}
Sourceval undo_oc : out_channel option ref
Sourceval get_undo_oc : unit -> out_channel
Sourceval init_action : args -> env -> unit
Sourceval do_actions : args -> env -> unit
Sourceval new_args : unit -> args
Sourceval action : args -> unit
Sourceval cmd_name : string
OCaml

Innovation. Community. Security.