package zarr
Module Node.GroupNodeSource
The type of a Group node.
name n returns the name of node n. The root node does not have a name and thus the empty string "" is returned if n is a root node.
parent n returns Some p where p is the parent node of n of None if node n is the root node.
ancestors n returns ancestor nodes of n including the root node. The root node has no ancestors, thus this returns the empty list is called on a root node.
to_key n converts a node's path to a key, as defined in the Zarr V3 specification.
to_prefix n converts a node's path to a prefix key, as defined in the Zarr V3 specification.
to_prefix n returns the metadata key associated with node n, as defined in the Zarr V3 specification.
is_child_group m n Tests if group node m is a the immediate parent of group node n. Returns true when the test passes and false otherwise.
pp fmt t pretty prints a node type value.