ax.util¶
Source: gamemode/framework/util/util_version.lua
Utility helpers used across the Parallax framework (printing, file handling, text utilities, etc.).
Section: version_utilities
Documented functions: 5
Functions¶
ax.util:GetBranch()ax.util:GetCommitCount()ax.util:GetCommitHash()ax.util:GetVersion()ReadVersionFile()
ax.util:GetBranch()¶
Get the Parallax branch name.
Returns
string|nil: Branch name or nil when unavailable
ax.util:GetCommitCount()¶
Get the Parallax commit count (number).
Returns
number|nil: Commit count or nil when unavailable
ax.util:GetCommitHash()¶
Get the Parallax commit hash (short).
Returns
string|nil: Commit hash or nil when unavailable
ax.util:GetVersion()¶
Get the Parallax version string (e.g. "0.3.42").
Prefers ax.version if available, else attempts to read version.json.
Returns
string|nil: Version string or nil when unavailable
ReadVersionFile()¶
Utility helpers used across the Parallax framework (printing, file handling, text utilities, etc.). Versioning utilities. Internal: read version.json from GAME or DATA and parse
Returns
table|nil: Parsed table or nil