Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/ShiningRush/fastflow
/ BuildRootNode
Function
BuildRootNode
pkg/mod/tasktree.go:56–94 ·
view source on GitHub ↗
BuildRootNode
(tasks []TaskInfoGetter)
Source
from the content-addressed store, hash-verified
source not stored for this graph (policy: none)
Callers
8
CreateDag
Method · 0.92
UpdateDag
Method · 0.92
TestBuildRootNode
Function · 0.85
TestTaskNode_GetNextTaskIds
Function · 0.85
TestTaskNode_GetExecutableTaskIds
Function · 0.85
TestDefParser_cancelChildTask
Function · 0.85
InitialDagIns
Method · 0.85
MustBuildRootNode
Function · 0.85
Calls
7
HasCycle
Method · 0.95
buildGraphNodeMap
Function · 0.85
AppendParent
Method · 0.80
AppendChild
Method · 0.80
GetDepend
Method · 0.65
GetGraphID
Method · 0.65
Errorf
Method · 0.65
Tested by
4
TestBuildRootNode
Function · 0.68
TestTaskNode_GetNextTaskIds
Function · 0.68
TestTaskNode_GetExecutableTaskIds
Function · 0.68
TestDefParser_cancelChildTask
Function · 0.68