Documentation ¶
Index ¶
- Constants
- func CollectDeclarations(ctx *context.Context) error
- func CollectHook(ctx context.IContext, arguments []parser.Argument, ...) (value.IValueObject, error)
- func CollectTask(ctx context.IContext, arguments []parser.Argument, ...) (value.IValueObject, error)
- func GetConditionResult(ctx context.IContext, ...) (bool, error)
- func InvokeChanged(ctx context.IContext, arguments []parser.Argument) (value.IValueObject, error)
- func InvokeCopy(ctx context.IContext, arguments []parser.Argument) (value.IValueObject, error)
- func InvokeExpression(ctx context.IContext, expression *parser.ExpressionStatement) error
- func InvokeFunction(ctx context.IContext, identifier string, arguments []parser.Argument, ...) (value.IValueObject, error)
- func InvokeIfStatement(ctx context.IContext, ...) error
- func InvokeRun(ctx context.IContext, arguments []parser.Argument) (value.IValueObject, error)
- func InvokeSet(ctx context.IContext, arguments []parser.Argument) (value.IValueObject, error)
- func InvokeStatements(ctx context.IContext) error
- func InvokeTask(ctx *context.Context, name *string) error
- func InvokeTaskSuccess(ctx context.IContext) (value.IValueObject, error)
- func Run(ctx *context.Context) error
Constants ¶
View Source
const AFTER_MERGE = "MERGE_HEAD" // records the commit(s) which you are merging into your branch when you run git merge.
View Source
const BEFORE_MERGE = "ORIG_HEAD" // is created by commands that move your HEAD in a drastic way (git am, git merge, git rebase, git reset), to record the position of the HEAD before their operation, so that you can easily change the tip of the branch back to the state before you ran them.
View Source
const FETCH_COMMIT = "FETCH_HEAD" // records the branch which you fetched from a remote repository with your last git fetch invocation.
View Source
const LAST_COMMIT = "HEAD^1" // names the commit on which you based the changes in the working tree.
https://git-scm.com/docs/git-rev-parse#Documentation/git-rev-parse.txt-codeHEADcode
View Source
const PHASE_COLLECT = 1
View Source
const PHASE_RUN = 2
View Source
const PHASE_UNSET = 0
Variables ¶
This section is empty.
Functions ¶
func CollectDeclarations ¶
func CollectHook ¶
func CollectHook(ctx context.IContext, arguments []parser.Argument, lambda *parser.LambdaExpression) (value.IValueObject, error)
func CollectTask ¶
func CollectTask(ctx context.IContext, arguments []parser.Argument, lambda *parser.LambdaExpression) (value.IValueObject, error)
func GetConditionResult ¶
func InvokeChanged ¶
func InvokeCopy ¶
func InvokeExpression ¶
func InvokeExpression(ctx context.IContext, expression *parser.ExpressionStatement) error
func InvokeFunction ¶
func InvokeFunction(ctx context.IContext, identifier string, arguments []parser.Argument, lambda *parser.LambdaExpression) (value.IValueObject, error)
func InvokeIfStatement ¶
func InvokeIfStatement(ctx context.IContext, condition parser.IfStatementOrExpressionConditionExpression) error
func InvokeStatements ¶
func InvokeTaskSuccess ¶
func InvokeTaskSuccess(ctx context.IContext) (value.IValueObject, error)
Types ¶
This section is empty.
Source Files ¶
Click to show internal directories.
Click to hide internal directories.