Module Drom_lib.CommandHeaders
and file = {
file_name : string;
}
type config = {
ignore_files : EzCompat.StringSet.t;
ignore_extensions : EzCompat.StringSet.t;
}
type env = {
config : config;
mutable files : (string, file) Stdlib.Hashtbl.t;
mutable save_to_ignore : EzCompat.StringSet.t;
}
val ignore_files_filename : string
val ignore_files_more_filename : string
val min_char_repetition : int Stdlib.ref
val list_ignore_files : config -> EzCompat.StringSet.elt list -> config
val scan_dir : env -> string -> unit
val check_file : env -> EzCompat.StringSet.elt -> string -> unit
val scan_dirs : env -> string list -> unit
val fprintf_loc : Stdlib.out_channel -> string -> int -> unit
val save_ignored : env -> unit
val remove_empty_lines : string list -> string list
type args = {
mutable arg_add_default : string list;
mutable arg_dirs : string list;
mutable arg_replace : string list;
mutable arg_replace_by : string option;
}
val undo_oc : Stdlib.out_channel option Stdlib.ref
val get_undo_oc : unit -> Stdlib.out_channel
val init_action : args -> env -> unit
val do_actions : args -> env -> unit
val new_args : unit -> args
val action : args -> unit
val cmd : Ezcmd.V2.EZCMD.TYPES.sub