Module MinisysSource

Minisys regroups some code that used to be in System. Unlike System, this module has no dependency and could be used for initial compilation target such as coqdep_boot. The functions here are still available in System thanks to an include. For the signature, look at the top of system.mli

Dealing with directories

Sourcetype unix_path = string
Sourcetype file_kind =
  1. | FileDir of unix_path * string
  2. | FileRegular of string
Sourceval (//) : string -> string -> string
Sourceval skipped_dirnames : string list ref
Sourceval exclude_directory : string -> unit
Sourceval ok_dirname : string -> bool
Sourceval exists_dir : string -> bool
Sourceval apply_subdir : (file_kind -> unit) -> string -> unix_path -> unit
Sourceval readdir : string -> string array
Sourceval process_directory : (file_kind -> unit) -> string -> unit
Sourceval process_subdirectories : (unix_path -> string -> unit) -> string -> unit