package bistro

  1. Overview
  2. Docs
val digest : 'a -> string
val quote : string -> string
val exec_exn : string Core.Array.t -> unit Lwt.t
val mv : string -> string -> unit Lwt.t
val remove_if_exists : string -> unit Lwt.t
val redirection : string -> [> `FD_move of Unix.file_descr ] Lwt.t
val touch : string -> unit Lwt.t
val docker_chown : path:string -> uid:int -> unit Lwt.t
val absolutize : Base.String.t -> Base.String.t
val relativize : from:string -> string -> string
val ln : Base.String.t -> Base.String.t -> unit Lwt.t
val cp : Base.String.t -> Base.String.t -> unit Lwt.t
val files_in_dir : string -> Core.String.t list Lwt.t
val glob : type_selection:[< `Directory | `File ] option -> pattern:string option -> string -> (string list, [> Rresult.R.msg ]) Rresult.result
val du : string -> (Core.Int.t, [> Rresult.R.msg ]) Rresult.result
val rm_rf : string -> (unit, [> Rresult.R.msg ]) Bos.OS.result
val waitpid : int -> (int * Lwt_unix.process_status) Lwt.t
val load_value : Base.string -> 'a
val save_value : data:'a -> Base.string -> unit
OCaml

Innovation. Community. Security.