package datakit-ci

  1. Overview
  2. Docs
type t
val read : t -> Datakit_path.t -> [ `Dir of string list | `File of Cstruct.t | `Link of string ] or_error Lwt.t
val stat : t -> Datakit_path.t -> Datakit_S.stat option or_error Lwt.t
val exists : t -> Datakit_path.t -> bool or_error Lwt.t
val exists_file : t -> Datakit_path.t -> bool or_error Lwt.t
val exists_dir : t -> Datakit_path.t -> bool or_error Lwt.t
val read_file : t -> Datakit_path.t -> Cstruct.t or_error Lwt.t
val read_dir : t -> Datakit_path.t -> string list or_error Lwt.t
OCaml

Innovation. Community. Security.