- Sort Score
- Result 10 results
- Languages All
Results 11 - 15 of 15 for IsToolchain (0.13 sec)
-
src/cmd/go/internal/modget/get.go
if gover.IsToolchain(path) { continue } old := r.initialVersion[path] new := reason.version if old != new && (old != "" || new != "none") { changes[path] = change{path, old, new} } } // Collect changes to explicit requirements in go.mod. for _, req := range oldReqs { if gover.IsToolchain(req.Path) { continue }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Jun 07 18:26:32 UTC 2024 - 66.5K bytes - Viewed (0) -
src/cmd/go/internal/toolchain/select.go
} } if !strings.Contains(pkgArg, "@") || build.IsLocalImport(pkgArg) || filepath.IsAbs(pkgArg) { return false } path, version, _ := strings.Cut(pkgArg, "@") if path == "" || version == "" || gover.IsToolchain(path) { return false } if !modcacherwSeen && base.InGOFLAGS("-modcacherw") { fs := flag.NewFlagSet("goInstallVersion", flag.ExitOnError) fs.Var(modcacherwVal, "modcacherw", modcacherwFlag.Usage)
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue May 07 17:25:05 UTC 2024 - 23.4K bytes - Viewed (0) -
src/cmd/go/internal/modload/import.go
// requirements in mg. for { var sumErrMods, altMods []module.Version for prefix := path; prefix != "."; prefix = pathpkg.Dir(prefix) { if gover.IsToolchain(prefix) { // Do not use the synthetic "go" module for "go/ast". continue } var ( v string ok bool ) if mg == nil { v, ok = rs.rootSelected(prefix) } else {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue May 07 15:21:14 UTC 2024 - 27.7K bytes - Viewed (0) -
src/cmd/go/internal/modfetch/fetch.go
// local download cache and returns the name of the directory // corresponding to the root of the module's file tree. func Download(ctx context.Context, mod module.Version) (dir string, err error) { if gover.IsToolchain(mod.Path) { return "", ErrToolchain } if err := checkCacheDir(ctx); err != nil { base.Fatal(err) } // The par.Cache here avoids duplicate work. return downloadCache.Do(mod, func() (string, error) {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 30 14:56:56 UTC 2024 - 30.3K bytes - Viewed (0) -
src/cmd/go/internal/modload/load.go
// if dir is in the module cache copy of a module in our build list. func pathInModuleCache(ctx context.Context, dir string, rs *Requirements) string { tryMod := func(m module.Version) (string, bool) { if gover.IsToolchain(m.Path) { return "", false } var root string var err error if repl := Replacement(m); repl.Path != "" && repl.Version == "" { root = repl.Path if !filepath.IsAbs(root) {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 30 14:56:56 UTC 2024 - 84K bytes - Viewed (0)