Definitively. Domain. GitAction
(definitively v0.3.1)
Copy Markdown
Pure git argv builders and result parsers for git nodes.
Summary
Functions
Builds argv list(s) for a git node.
Builds git argv for the given action and options.
Parses stdout into signals and structured data for a git action.
Types
@type argv() :: [String.t()]
Functions
@spec argv_for(Definitively.Domain.NodeDefinition.t()) :: {:ok, argv() | {:multi, [argv()]}} | {:error, term()}
Builds argv list(s) for a git node.
Builds git argv for the given action and options.
@spec parse_result(atom(), non_neg_integer(), String.t()) :: {map(), map()}
Parses stdout into signals and structured data for a git action.