- Sort Score
- Result 10 results
- Languages All
Results 1 - 4 of 4 for pkgMods (0.2 sec)
-
src/cmd/go/internal/modget/get.go
results, err := modload.QueryPackages(ctx, pattern, query, selected, r.checkAllowedOr(query, selected)) if len(results) > 0 { pkgMods = make([]module.Version, 0, len(results)) for _, qr := range results { pkgMods = append(pkgMods, qr.Mod) } } return pkgMods, err }
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/modget/query.go
// matches the query pattern. // // We track this module separately from pkgMods because, all else equal, we // prefer to match a query to a package rather than just a module. Also, // unlike the modules in pkgMods, this module does not inherently exclude // any other module in pkgMods. mod module.Version err error } // errSet returns a pathSet containing the given error.
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Nov 27 15:48:25 UTC 2023 - 11.2K bytes - Viewed (0) -
src/cmd/go/internal/modload/query.go
pkgMods, modOnly, err := QueryPattern(ctx, pattern, query, current, allowed) if len(pkgMods) == 0 && err == nil { replacement := Replacement(modOnly.Mod) return nil, &PackageNotInModuleError{ Mod: modOnly.Mod, Replacement: replacement, Query: query, Pattern: pattern, } } return pkgMods, err }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Dec 11 22:29:11 UTC 2023 - 44.7K bytes - Viewed (0) -
src/cmd/go/internal/modload/load.go
// by some other newly-added or newly-upgraded dependency. }) pkgMods = append(pkgMods, pkgMod{pkg: pkg, mod: &mod}) } <-ld.work.Idle() modAddedBy = map[module.Version]*loadPkg{} var ( maxTooNew *gover.TooNewError maxTooNewPkg *loadPkg ) for _, pm := range pkgMods { if tooNew := (*gover.TooNewError)(nil); errors.As(pm.pkg.err, &tooNew) {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 30 14:56:56 UTC 2024 - 84K bytes - Viewed (0)