MCPcopy Create free account
hub / github.com/bytebase/bytebase / AddNode

Method AddNode

backend/plugin/parser/base/topo_sort.go:29–31  ·  view source on GitHub ↗
(id string)

Source from the content-addressed store, hash-verified

27}
28
29func (g *Graph) AddNode(id string) {
30 g.NodeMap[id] = &Node{ID: id}
31}
32
33func (g *Graph) AddEdge(start, end string) {
34 if _, ok := g.NodeMap[start]; !ok {

Callers 15

AddEdgeMethod · 0.95
dropObjectsInOrderFunction · 0.95
createObjectsInOrderFunction · 0.95
GetDatabaseDefinitionFunction · 0.95
dropViewsInOrderFunction · 0.95
createTablesInOrderFunction · 0.95
createViewsInOrderFunction · 0.95
writeCreateTablesFunction · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected