Minga.Session.Snapshot (Minga v0.1.0)

Copy Markdown View Source

A session snapshot capturing the editor's restorable state.

Built from editor state when saving a session, and deserialized when restoring. Contains the list of open buffers with cursor positions and the active file path.

Summary

Types

t()

A session snapshot.

Types

t()

@type t() :: %Minga.Session.Snapshot{
  active_file: String.t() | nil,
  buffers: [Minga.Session.BufferEntry.t()],
  clean_shutdown: boolean(),
  version: pos_integer()
}

A session snapshot.