Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for FindPath (0.08 sec)

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

    				queue = append(queue, r)
    				enqueued[r] = true
    			}
    		}
    	}
    }
    
    // FindPath reports a shortest requirement path starting at one of the roots of
    // the graph and ending at a module version m for which f(m) returns true, or
    // nil if no such path exists.
    func (g *Graph) FindPath(f func(module.Version) bool) []module.Version {
    	// firstRequires[a] = b means that in a breadth-first traversal of the
    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