Node.Array
val root : t
creates an array root node
val of_path : string -> t
of_path s
returns an array node from string s
.
val to_path : t -> string
to_path n
returns array node n
as a string path.
val name : t -> string
name n
returns the name of array node n
.
parent n
returns Some p
where p
is the parent group node of n
or None
if node n
is a root node.
is_parent n g
returns true
if group node g
is the immediate parent of array node n
and false
otherwise.
val to_key : t -> string
to_key n
converts a node's path to a key, as defined in the Zarr V3 specification.
val to_metakey : t -> string
to_metakey n
returns the metadata key associated with node n
, as defined in the Zarr V3 specification.
val show : t -> string
show n
returns a string representation of a node type.
val pp : Stdlib.Format.formatter -> t -> unit
pp fmt t
pretty prints a node type value.