Brassaia.PathStore paths.
An Brassaia store binds paths to user-defined contents. Paths are composed by basic elements, that we call steps. The following Path module provides functions to manipulate steps and paths.
Tree path handling.
val pp_step : Stdlib.Format.formatter -> step -> unitval step_to_bin_string : step -> stringval step_of_bin_string : string -> (step, [ `Msg of string ]) Stdlib.resulttype t = step listThe type for path values.
val pp : Stdlib.Format.formatter -> t -> unitval empty : tThe empty path.
val is_empty : t -> boolCheck if the path is empty.
Deconstruct the first element of the path. Return None if the path is empty.
Deconstruct the last element of the path. Return None if the path is empty.
val encoding : t Data_encoding.tencoding is the data_encoding for t.
val step_encoding : step Data_encoding.tstep_encoding is the data_encoding for step.