Skip to main content

Module game_schema

Module game_schema 

Source
Expand description

Each game’s <data>/<game>/schema.toml: which categories its catalogue has, published in the manifest with the hash installers compare.

Structs§

SchemaCategoryFile 🔒
SchemaFile 🔒
Strict, so a typo cannot silently change what a category means.

Constants§

BUNDLED_SCHEMAS
The repository’s schemas/<game>.toml byte for byte, which installers of the same release embed too.

Functions§

bundled_schema_warning
Why a game’s schema will stop installers of this release from downloading it, if it will; a warning, since the operator may be mid-rollout.
load_schema
The game’s schema, or the error that withholds the whole game.
parse_schema
Validates a schema and hashes its raw bytes, comments included, since that is the hash an installer compares.
validated 🔒