Skip to main content

Module version

Module version 

Source
Expand description

The version every powerio authored document carries, and the rule a reader applies to it.

powerio implements case formats and authors none. A file it writes for a foreign format carries that format’s own version, which powerio reproduces and never sets. A document powerio authors instead carries VERSION under the key powerio_version, and supports decides whether this build reads it.

Constants§

VERSION_KEY
The key every powerio authored document uses for VERSION.

Functions§

lineage_label
The lineage this build reads, spelled for a message: 0.9.x while the major is 0, major version N afterwards. A 1.x build names the 0.x lineage it also reads, so a caller holding a 0.9.0 document is not told to regenerate it.
lineage_path
The lineage as a path segment: 0.9 while the major is 0, 1 afterwards.
reject
The message for a document this build does not read.
supports
Whether this build reads a document stamped version.