package octez-l2-libs
Handling of YAML configuration file used by the kernel installer.
A configuration has the form: ``` instructions:
- set: value: <hexadecimal value> to: <string> ... ```
type Tezos_base.TzPervasives.error +=
type t = instr list
val pp : Format.formatter -> t -> unit
val instr_encoding : instr Tezos_base.TzPervasives.Data_encoding.t
val encoding : t Tezos_base.TzPervasives.Data_encoding.t
val parse_yaml : string -> t Tezos_base.TzPervasives.tzresult
parse_yaml content
parses content
as a YAML representing the configuration of the kernel installer, and returns the corresponding set of instructions.
val generate_yaml : t -> Yaml.yaml Tezos_base.TzPervasives.tzresult
generate_yaml instrs
generates the YAML representation of instrs
.
val emit_yaml : t -> string Tezos_base.TzPervasives.tzresult
emit_yaml instrs
generates the YAML representation of instrs
in textual format.
sectionYPositions = computeSectionYPositions($el), 10)"
x-init="setTimeout(() => sectionYPositions = computeSectionYPositions($el), 10)"
>