Light Dark

Functions

version core

fn (): Version

Return the current Hot version and git SHA.

Returns a Version with version (semver string) and git-sha (full 40-character SHA).

Example

v ::hot::info/version()
v.version   // "1.0.33"
v.git-sha   // "abc123..."

Types

Build

Build type {
    id: Uuid?,
    hash: Str?
}

Env

Env type {
    id: Uuid?,
    name: Str?
}

Org

Org type {
    id: Uuid?,
    slug: Str?
}

Project

Project type {
    id: Uuid?,
    name: Str?
}

User

User type {
    id: Uuid?
}

Version

Version type {
    version: Str,
    git-sha: Str
}