Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for firstRequires (0.09 sec)

  1. src/cmd/go/internal/mvs/graph.go

    func (g *Graph) FindPath(f func(module.Version) bool) []module.Version {
    	// firstRequires[a] = b means that in a breadth-first traversal of the
    	// requirement graph, the module version a was first required by b.
    	firstRequires := make(map[module.Version]module.Version)
    
    	queue := g.roots
    	for _, m := range g.roots {
    		firstRequires[m] = module.Version{}
    	}
    
    	for len(queue) > 0 {
    		m := queue[0]
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Jun 01 02:52:19 UTC 2023
    - 6.3K bytes
    - Viewed (0)
Back to top