MingaGitExtended.Effects.RemoteOperation (minga_git_extended v0.1.0)

Copy Markdown View Source

Runs a remote Git action against the repository captured by its command or retry.

Summary

Types

operation()

@type operation() :: :push | :pull | :fetch | :pull_and_retry

Functions

propose(state, root, operation, git \\ Git)

@spec propose(
  MingaEditor.Extension.EditorAPI.state(),
  String.t(),
  operation(),
  module()
) ::
  command_result()