MCPcopy Create free account
hub / github.com/araddon/qlbridge / Setup

Method Setup

exec/executor.go:377–385  ·  view source on GitHub ↗

Setup this dag of tasks

()

Source from the content-addressed store, hash-verified

375
376// Setup this dag of tasks
377func (m *JobExecutor) Setup() error {
378 if m == nil {
379 return fmt.Errorf("JobExecutor is nil?")
380 }
381 if m.RootTask == nil {
382 return fmt.Errorf("No task exists for this job")
383 }
384 return m.RootTask.Setup(0)
385}
386
387// Run this task
388func (m *JobExecutor) Run() error {

Callers

nothing calls this directly

Calls 2

ErrorfMethod · 0.80
SetupMethod · 0.65

Tested by

no test coverage detected