type options = {
default_lib_dir: Path.t option;
ignores: (string * Str.regexp) list;
untyped: (string * Str.regexp) list;
declarations: (string * Str.regexp) list;
includes: Path_matcher.t;
lib_paths: Path.t list;
module_file_exts: SSet.t;
module_resource_exts: SSet.t;
node_resolver_dirnames: string list;
}
val default_lib_dir : options -> Path.t option
val ignores : options -> (string * Str.regexp) list
val untyped : options -> (string * Str.regexp) list
val declarations : options -> (string * Str.regexp) list
val includes : options -> Path_matcher.t
val lib_paths : options -> Path.t list
val module_file_exts : options -> SSet.t
val module_resource_exts : options -> SSet.t
val node_resolver_dirnames : options -> string list
val node_modules_containers : SSet.t SMap.t ref
val global_file_name : string
val flow_ext : string
val has_flow_ext : File_key.t -> bool
val chop_flow_ext : File_key.t -> File_key.t option
val is_json_file : string -> bool
val is_flow_file : options:options -> string -> bool
val is_ignored : options -> string -> bool
val is_untyped : options -> string -> bool
val is_declaration : options -> string -> bool
val is_included : options -> string -> bool
val is_valid_path : options:options -> string -> bool
val get_all_watched_extensions : options -> SSet.t
val init : ?flowlibs_only:bool -> options -> string list * SSet.t
val module_ref : File_key.t -> string
val lib_module_ref : string
val dir_sep : Str.regexp
val current_dir_name : Str.regexp
val parent_dir_name : Str.regexp
val absolute_path_regexp : Str.regexp
val watched_paths : options -> Path.t list
val wanted : options:options -> SSet.t -> string -> bool
val make_next_files :
root:Path.t ->
all:bool ->
subdir:Path.t option ->
options:options ->
libs:SSet.t ->
unit ->
string list
val get_all : (unit -> string list) -> SSet.t
val normalize_path : string -> string -> string
val construct_path : string -> string list -> string
val relative_path : string -> string -> string
val absolute_path : string -> string -> string
val make_path_absolute : Path.t -> string -> Path.t
val is_prefix : string -> string -> bool
val get_flowtyped_path : Path.t -> Path.t
val filename_from_string : options:options -> string -> File_key.t
val mkdirp : string -> Unix.file_perm -> unit
val is_within_node_modules : root:Path.t -> options:options -> string -> bool
val imaginary_realpath : string -> string
val canonicalize_filenames :
cwd:string -> handle_imaginary:(string -> string) -> string list -> string list
val expand_project_root_token : root:Path.t -> string -> string