- Sort Score
- Result 10 results
- Languages All
Results 1 - 1 of 1 for modRoots (0.09 sec)
-
src/cmd/go/internal/load/pkg.go
} modroot := modload.PackageModRoot(ctx, r.path) if modroot == "" && str.HasPathPrefix(r.dir, cfg.GOROOTsrc) { modroot = cfg.GOROOTsrc gorootSrcCmd := filepath.Join(cfg.GOROOTsrc, "cmd") if str.HasPathPrefix(r.dir, gorootSrcCmd) { modroot = gorootSrcCmd } } if modroot != "" { if rp, err := modindex.GetPackage(modroot, r.dir); err == nil {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue May 28 17:00:51 UTC 2024 - 120K bytes - Viewed (0)