MCPcopy
hub / github.com/chrislusf/glow / Name

Method Name

flow/step_task.go:41–56  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

39}
40
41func (t *Task) Name() string {
42 var buffer bytes.Buffer
43 if t.Step.Name != "" {
44 buffer.WriteString(t.Step.Name)
45 } else {
46 buffer.WriteString("t")
47 }
48 buffer.WriteString(strconv.Itoa(t.Step.Id))
49 if len(t.Step.Tasks) > 1 {
50 buffer.WriteString("_")
51 buffer.WriteString(strconv.Itoa(t.Id))
52 buffer.WriteString("_")
53 buffer.WriteString(strconv.Itoa(len(t.Step.Tasks)))
54 }
55 return buffer.String()
56}
57
58func (t *Task) InputChan() chan reflect.Value {
59 if len(t.InputChans) != 1 {

Callers 15

InputChanMethod · 0.95
deleteAllFunction · 0.45
DestroyMethod · 0.45
listOldLogFilesMethod · 0.45
ListFunction · 0.45
connectExternalInputsMethod · 0.45
findTaskGroupInputsMethod · 0.45
allInputLocationsMethod · 0.45

Calls 1

StringMethod · 0.45

Tested by

no test coverage detected