package datakit-ci

  1. Overview
  2. Docs
module Log : Logs.LOG
val src : Logs.src
module Client9p : sig ... end
module DK : sig ... end
module Infix : sig ... end
val chdir_lock : Lwt_mutex.t
val ok : 'a -> ('a, 'b) Result.result Lwt.t
val return_error : ('a, Format.formatter, unit, ('b, string) Result.result Lwt.t) format4 -> 'a
val failf : ('a, Format.formatter, unit, 'b) format4 -> 'a
val pp_exn : exn Fmt.t
val with_timeout : ?switch:Lwt_switch.t -> float -> (Lwt_switch.t -> 'a Lwt.t) -> 'a Lwt.t
val abs_path : string -> string
val ensure_dir : mode:Unix.file_perm -> string -> unit
val default : 'a -> 'a option -> 'a
val with_tmpdir : ?prefix:string -> ?mode:Unix.file_perm -> (string -> 'a Lwt.t) -> 'a Lwt.t
val ls : string -> string list Lwt.t
val with_switch : (Lwt_switch.t -> 'a Lwt.t) -> 'a Lwt.t
val cancel_when_off : Lwt_switch.t -> (unit -> 'a Lwt.t) -> 'a Lwt.t
val opt_get : (unit -> 'a) -> 'a option -> 'a
OCaml

Innovation. Community. Security.