MCPcopy Create free account
hub / github.com/agentforce314/clawcodex / current_branch

Function current_branch

src/workflow/callpath.py:41–44  ·  view source on GitHub ↗

The branch for the running task. ``run_workflow`` always sets a base branch before executing the script, so this is defined during a run.

()

Source from the content-addressed store, hash-verified

39
40
41def current_branch() -> Branch:
42 """The branch for the running task. ``run_workflow`` always sets a base
43 branch before executing the script, so this is defined during a run."""
44 return _current.get()
45
46
47def use_branch(path: CallKey):

Callers 4

agentMethod · 0.85
parallelMethod · 0.85
pipelineMethod · 0.85
workflowMethod · 0.85

Calls 1

getMethod · 0.45

Tested by

no test coverage detected