Legend:
Library
Module
Module type
Parameter
Class
Class type
Library
Module
Module type
Parameter
Class
Class type
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
val read_link : t -> Datakit_path.t -> string or_error Lwt.t