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
val create_dir : t -> Datakit_path.t -> unit or_error Lwt.t
val create_file :
t ->
Datakit_path.t ->
?executable:bool ->
Cstruct.t ->
unit or_error Lwt.t
val create_symlink : t -> Datakit_path.t -> string -> unit or_error Lwt.t
val replace_file : t -> Datakit_path.t -> Cstruct.t -> unit or_error Lwt.t
val create_or_replace_file :
t ->
Datakit_path.t ->
Cstruct.t ->
unit or_error Lwt.t
val set_executable : t -> Datakit_path.t -> bool -> unit or_error Lwt.t
val remove : t -> Datakit_path.t -> unit or_error Lwt.t
val rename : t -> Datakit_path.t -> string -> unit or_error Lwt.t
val truncate : t -> Datakit_path.t -> int64 -> unit or_error Lwt.t
val make_dirs : t -> Datakit_path.t -> unit or_error Lwt.t
val merge :
t ->
Commit.t ->
(merge_inputs * Datakit_path.t list) or_error Lwt.t
val conflicts : t -> Datakit_path.t list or_error Lwt.t
val diff : t -> Commit.t -> Datakit_path.t Datakit_S.diff list or_error Lwt.t
val closed : t -> bool