MingaEditor.Shell.BufferMetadata (Minga v0.1.0)

Copy Markdown View Source

Inert buffer identity prepared before shell lifecycle calculation.

Shell owner transitions consume this value without reading a buffer process, logging, or performing persistence. Workflows are responsible for deriving the metadata while the process is live.

Summary

Functions

Builds immutable metadata from values already resolved by a workflow.

Types

t()

@type t() :: %MingaEditor.Shell.BufferMetadata{
  buffer_pid: pid(),
  context: MingaEditor.Shell.buffer_add_context(),
  file_ref: Minga.Project.FileRef.t(),
  label: String.t(),
  path: String.t() | nil
}

Functions

new(buffer_pid, context, label, path, file_ref)

Builds immutable metadata from values already resolved by a workflow.