MCPcopy Create free account
hub / github.com/InferCore/InferCore / Index

Method Index

internal/execution/steps.go:83–88  ·  view source on GitHub ↗

Index returns the next step index without incrementing (for branching).

()

Source from the content-addressed store, hash-verified

81
82// Index returns the next step index without incrementing (for branching).
83func (w *StepWriter) Index() int {
84 if w == nil {
85 return 0
86 }
87 return w.next
88}

Callers 1

TestStepWriter_IndexFunction · 0.80

Calls

no outgoing calls

Tested by 1

TestStepWriter_IndexFunction · 0.64