pallet.core.version-dispatch documentation

Version dispatch

->VersionMap

fn

[data hierarchy base-key version-key]

Positional factory function for class pallet.core.version_dispatch.VersionMap.

lookup-os

fn

[base version hierarchy base-key version-key values default-value]

Pass nil to default-value if non required

version-map

fn

[hierarchy base-key version-key {:as os-value-pairs}]
[hierarchy base-key version-key]

Construct a version map. The keys should be maps with base-key and version-key keys. The base-key value should be take from the hierarchy. The version-key value should be a version vector, or a version range vector.