GPUI.Application.Identity (gpui v0.2.0-rc.1)

Copy Markdown View Source

Stable process-wide identity for a GPUI application.

The identifier should use reverse-DNS form. icon names an application-owned source asset or asset set; platform release tooling remains responsible for producing macOS bundles, Windows resources, and Linux desktop entries.

Summary

Types

t()

@type t() :: %GPUI.Application.Identity{
  icon: GPUI.Application.Icon.t() | nil,
  id: String.t(),
  name: String.t()
}

Functions

new!(attrs)

@spec new!(keyword() | map()) :: t()

validate!(identity)

@spec validate!(t()) :: t()