engine/store
library
Classes
-
HintStore
-
Versioned-hints store:
{hintKey: lastShownAppVersion}.
-
InMemoryHintStore
-
Zero-dependency default: everything held in memory.
Functions
-
compareVersions(String a, String b)
→ int
-
Compare dotted versions (
"2.3.0" vs "2.10.0") segment-wise,
numerically; missing segments count as "0" ("2.3" == "2.3.0");
non-numeric segments (build labels etc.) compare lexically — plain
semver-prerelease ordering (2.0.0-dev < 2.0.0) is intentionally out
of scope. Returns negative/zero/positive.