MingaEditor.Extension.RepositoryJob (minga_sdk v0.1.2)

Copy Markdown View Source

Compile-time declaration for proposing repository work from an extension command or editor action.

Summary

Types

t()

An opaque proposal; the editor validates it before starting work.

Types

lane()

@type lane() :: :remote | :commit_message | :diff_open

result()

@type result() ::
  {:ok, t()}
  | {:error, :source_unavailable | :invalid_repository | :invalid_arguments}

t()

@type t() :: term()

An opaque proposal; the editor validates it before starting work.

Functions

propose(state, lane, root, handler, args)