Skip to main content

Module message

Module message 

Source
Expand description

Unified message type for the entire GitKraft GUI application.

Every user interaction, async result callback, and internal event is represented as a variant of Message. The top-level update function pattern-matches on these and delegates to the appropriate feature handler.

Structs§

CommitPage
Payload returned by a lazy-load page request.
RepoPayload
Payload returned after successfully opening / refreshing a repository. Bundles every piece of state the UI needs so we can update in one shot.
StagingPayload
Payload returned after a staging operation (stage / unstage / discard).

Enums§

Message