package zanuda

  1. Overview
  2. Docs

Module Zanuda_core.ConfigSource

Sourcetype mode =
  1. | Unspecified
  2. | Dump_json of string
  3. | Dump_text
  4. | File of string
  5. | Dir of string
  6. | Fix of string
  7. | UnusedDecls of string
Sourcetype t = {
  1. mutable outfile : string option;
  2. mutable outgolint : string option;
  3. mutable out_rdjsonl : string option;
  4. mutable mode : mode;
  5. mutable prefix_to_cut : string option;
  6. mutable prefix_to_add : string option;
  7. mutable extra_includes : string list;
  8. mutable verbose : bool;
  9. mutable gen_replacements : bool;
  10. enabled_lints : string Base.Hash_set.t;
  11. all_lints : string Base.Hash_set.t;
  12. mutable skip_level_allow : bool;
  13. mutable check_filesystem : bool;
}
Sourceval opts : t

Modes

Sourceval mode : unit -> mode
Sourceval set_mode : mode -> unit
Sourceval set_dump_file : string -> unit
Sourceval set_dump_text : unit -> unit
Sourceval set_in_file : string -> unit
Sourceval set_in_dir : string -> unit
Sourceval set_in_unused_decls : string -> unit
Sourceval set_fix : string -> unit

Other switches

Sourceval add_include : string -> unit
Sourceval set_out_file : string -> unit
Sourceval set_out_golint : string -> unit
Sourceval set_out_rdjsonl : string -> unit
Sourceval set_prefix_to_cut : string -> unit
Sourceval set_prefix_to_add : string -> unit
Sourceval includes : unit -> string list
Sourceval prefix_to_cut : unit -> string option
Sourceval prefix_to_add : unit -> string option
Sourceval is_check_filesystem : unit -> bool
Sourceval enabled_lints : unit -> string Base.Hash_set.t
Sourceval all_lints : unit -> string Base.Hash_set.t
Sourceval outfile : unit -> string option
Sourceval out_golint : unit -> string option
Sourceval out_rdjsonl : unit -> string option
Sourceval unset_check_filesystem : unit -> unit
Sourceval verbose : unit -> bool
Sourceval gen_replacements : unit -> bool
Sourceval set_verbose : unit -> unit
Sourceval set_skip_level_allow : bool -> unit
Sourceval recover_filepath : Base.String.t -> Base.String.t
Sourceval is_enabled : unit -> (module LINT.GENERAL) -> bool
Sourceval parse_args : unit -> unit
OCaml

Innovation. Community. Security.