MCPcopy Create free account
hub / github.com/despiteallobjections/amigo / add

Method add

types/initorder.go:202–207  ·  view source on GitHub ↗
(p *graphNode)

Source from the content-addressed store, hash-verified

200type nodeSet map[*graphNode]bool
201
202func (s *nodeSet) add(p *graphNode) {
203 if *s == nil {
204 *s = make(nodeSet)
205 }
206 (*s)[p] = true
207}
208
209// dependencyGraph computes the object dependency graph from the given objMap,
210// with any function nodes removed. The resulting graph contains only constants

Callers 1

dependencyGraphFunction · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected