- Sort Score
- Result 10 results
- Languages All
Results 1 - 1 of 1 for WhyDepth (0.06 sec)
-
src/cmd/go/internal/modload/load.go
pkg, ok := loaded.pkgCache.Get(path) if !ok { return "" } return pkg.why() } // WhyDepth returns the number of steps in the Why listing. // If there is no reason for the package to be in the current build, // WhyDepth returns 0. func WhyDepth(path string) int { n := 0 pkg, _ := loaded.pkgCache.Get(path) for p := pkg; p != nil; p = p.stack { n++ } return n
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 30 14:56:56 UTC 2024 - 84K bytes - Viewed (0)