package ocamlbuild

  1. Overview
  2. Docs
type file_kind =
  1. | FK_dir
  2. | FK_file
  3. | FK_other
type stats = {
  1. stat_file_kind : file_kind;
  2. stat_key : string;
}
val is_degraded : bool Lazy.t
val run_and_open : string -> (in_channel -> 'a) -> 'a
val run_and_read : string -> string
val execute_many : ?max_jobs:int -> ?ticker:(unit -> unit) -> ?period:float -> ?display:((out_channel -> unit) -> unit) -> (unit -> string) list list -> (bool list * exn) option
val report_error : Format.formatter -> exn -> unit
val at_exit_once : (unit -> unit) -> unit
val gettimeofday : unit -> float
val stdout_isatty : unit -> bool
val stat : string -> stats
val lstat : string -> stats
type implem = {
  1. mutable is_degraded : bool;
  2. mutable run_and_open : 'a. string -> (in_channel -> 'a) -> 'a;
  3. mutable execute_many : ?max_jobs:int -> ?ticker:(unit -> unit) -> ?period:float -> ?display:((out_channel -> unit) -> unit) -> (unit -> string) list list -> (bool list * exn) option;
  4. mutable report_error : Format.formatter -> exn -> unit;
  5. mutable at_exit_once : (unit -> unit) -> unit;
  6. mutable gettimeofday : unit -> float;
  7. mutable stdout_isatty : unit -> bool;
  8. mutable stat : string -> stats;
  9. mutable lstat : string -> stats;
}
val implem : implem
OCaml

Innovation. Community. Security.