- Sort Score
- Result 10 results
- Languages All
Results 1 - 2 of 2 for LoadModFile (0.22 sec)
-
src/cmd/go/internal/modload/init.go
// // As a side-effect, LoadModFile may change cfg.BuildMod to "vendor" if // -mod wasn't set explicitly and automatic vendoring should be enabled. // // If LoadModFile or CreateModFile has already been called, LoadModFile returns // the existing in-memory requirements (rather than re-reading them from disk). // // LoadModFile checks the roots of the module graph for consistency with each
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Jun 06 18:36:30 UTC 2024 - 69.8K bytes - Viewed (0) -
src/cmd/go/internal/modget/get.go
} } for _, match := range matches { for _, pkg := range match.Pkgs { m := modload.PackageModule(pkg) relevantMods[m] |= named } } } reqs := modload.LoadModFile(ctx) for m := range relevantMods { if reqs.IsDirect(m.Path) { relevantMods[m] |= direct } } // Load retractions for modules mentioned on the command line and modules
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Jun 07 18:26:32 UTC 2024 - 66.5K bytes - Viewed (0)