package genspio

  1. Overview
  2. Docs
val to_c_string : byte_array t -> c_string t
val to_byte_array : c_string t -> byte_array t
val literal : 'a Literal.t -> 'a t
val byte_array : string -> byte_array t
val int : int -> int t
val bool : bool -> bool t
val c_string : string -> c_string t
val string : string -> c_string t
val exec : string Genspio.Common.List.t -> unit t
val call : c_string t list -> unit t
val (&&&) : bool t -> bool t -> bool t
val (|||) : bool t -> bool t -> bool t
module C_string : sig ... end
module Byte_array : sig ... end
val returns : 'a t -> value:int -> bool t
val succeeds : 'a t -> bool t
val nop : unit t
val if_then_else : bool t -> unit t -> unit t -> unit t
val if_then : bool t -> unit t -> unit t
val seq : unit t list -> unit t
val not : bool t -> bool t
val fail : string -> unit t
val comment : string -> 'a t -> 'a t
val (%%%) : string -> 'a t -> 'a t
val make_switch : (bool t * unit t) list -> default:unit t -> unit t
val write_output : ?stdout:c_string t -> ?stderr:c_string t -> ?return_value:c_string t -> unit t -> unit t
val write_stdout : path:c_string t -> unit t -> unit t
val to_fd : int t -> int t -> fd_redirection
val to_file : int t -> c_string t -> fd_redirection
val with_redirections : unit t -> fd_redirection list -> unit t
val file_exists : c_string t -> bool t
val getenv : c_string t -> c_string t
val setenv : var:c_string t -> c_string t -> unit t
val get_stdout : unit t -> byte_array t
val feed : string:byte_array t -> unit t -> unit t
val (>>) : byte_array t -> unit t -> unit t
val pipe : unit t list -> unit t
val (||>) : unit t -> unit t -> unit t
val loop_while : bool t -> body:unit t -> unit t
val loop_seq_while : bool t -> unit t list -> unit t
module Elist : sig ... end
val byte_array_concat_list : byte_array list t -> byte_array t
module Bool : sig ... end
module Integer : sig ... end
module Magic : sig ... end
OCaml

Innovation. Community. Security.