Module Storage.HttpStore

exception Not_implemented
exception Request_failed of int * string
include Zarr.Storage.S with type 'a io := 'a
type t

The storage type.

module Group : sig ... end
module Array : sig ... end
val hierarchy : t -> Zarr.Node.Array.t list * Zarr.Node.Group.t list

hierarchy t returns p where p is a pair of lists representing all nodes in store t. The first element of the pair is a list of all array nodes, and the second element is a list of all group nodes. This operation returns a pair of empty lists if store t is empty.

  • raises Parse_error

    if any node has invalid node_type metadata.

val clear : t -> unit

clear t clears the store t by deleting all nodes. If the store is already empty, this is a no-op.

val with_open : ?https: (Uri.t -> [ `Generic ] Eio.Net.stream_socket_ty Eio.Std.r -> _ Eio.Flow.two_way) -> net:_ Eio.Net.t -> Uri.t -> (t -> 'a) -> 'a