Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for seenRoot (0.07 sec)

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

    //
    // The order of the remaining elements in the list is deterministic
    // but arbitrary.
    func (g *Graph) BuildList() []module.Version {
    	seenRoot := make(map[string]bool, len(g.roots))
    
    	var list []module.Version
    	for _, r := range g.roots {
    		if seenRoot[r.Path] {
    			// Multiple copies of the same root, with the same or different versions,
    			// are a bit of a degenerate case: we will take the transitive
    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