- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 140 for mainModules (0.17 sec)
-
src/cmd/go/internal/modload/query.go
var mainModuleMatches []module.Version for _, mainModule := range MainModules.Versions() { m := match(mainModule, modRoots, true) if len(m.Pkgs) > 0 { if query != "upgrade" && query != "patch" { return nil, nil, &QueryMatchesPackagesInMainModuleError{ Pattern: pattern, Query: query, Packages: m.Pkgs, } } if err := allowed(ctx, mainModule); err != nil {
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/modcmd/vendor.go
for _, pkg := range pkgs { m := modload.PackageModule(pkg) if m.Path == "" || modload.MainModules.Contains(m.Path) { continue } modpkgs[m] = append(modpkgs[m], pkg) } checkPathCollisions(modpkgs) includeAllReplacements := false includeGoVersions := false isExplicit := map[module.Version]bool{} gv := modload.MainModules.GoVersion()
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Mar 14 14:19:59 UTC 2024 - 14.5K bytes - Viewed (0) -
analysis/analysis-api-standalone/src/org/jetbrains/kotlin/analysis/project/structure/builder/KtModuleProviderBuilder.kt
public class KtModuleProviderBuilder( public val kotlinCoreProjectEnvironment: KotlinCoreProjectEnvironment, ) { private val mainModules: MutableList<KtModule> = mutableListOf() public fun <M : KtModule> addModule(module: M): M { mainModules.add(module) return module } public lateinit var platform: TargetPlatform public fun build(): KtStaticProjectStructureProvider {
Registered: Wed Jun 12 09:53:16 UTC 2024 - Last Modified: Fri Jan 05 16:04:14 UTC 2024 - 1.7K bytes - Viewed (0) -
src/cmd/go/internal/modload/init.go
if MainModules.Len() != 1 || MainModules.ModRoot(MainModules.Versions()[0]) == "" { // We aren't in a module, so we don't have anywhere to write a go.mod file. return nil, nil, nil, errNoChange } mainModule := MainModules.mustGetSingleMainModule() modFile = MainModules.ModFile(mainModule) if modFile == nil {
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/modload/modfile.go
if MainModules == nil { return module.Version{}, "", "" } else if MainModules.Contains(mod.Path) && mod.Version == "" { // Don't replace the workspace version of the main module. return module.Version{}, "", "" } if _, r, ok := replacement(mod, MainModules.WorkFileReplaceMap()); ok { return r, "", workFilePath } for _, v := range MainModules.Versions() {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Oct 26 17:53:40 UTC 2023 - 26.7K bytes - Viewed (0) -
src/cmd/go/internal/modload/search.go
continue } var ( root, modPrefix string isLocal bool ) if MainModules.Contains(mod.Path) { if MainModules.ModRoot(mod) == "" { continue // If there is no main module, we can't search in it. } root = MainModules.ModRoot(mod) modPrefix = MainModules.PathPrefix(mod) isLocal = true } else { var err error root, isLocal, err = fetch(ctx, mod)
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed Nov 08 17:55:15 UTC 2023 - 7.9K bytes - Viewed (0) -
cmd/dependencyverifier/dependencyverifier.go
} // convert from `go mod graph` to main module and map of from->[]to references mainModules, moduleGraph := convertToMap(modeGraphStr) directDependencies := map[string]map[string]bool{} for _, mainModule := range mainModules { dir := "" if mainModule.name != "k8s.io/kubernetes" { dir = "staging/src/" + mainModule.name }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Thu Sep 07 01:48:30 UTC 2023 - 12.7K bytes - Viewed (0) -
src/cmd/go/internal/modload/import.go
for _, mainModule := range MainModules.Versions() { if MainModules.InGorootSrc(mainModule) { if dir, ok, err := dirInModule(path, MainModules.PathPrefix(mainModule), MainModules.ModRoot(mainModule), true); err != nil { return module.Version{}, MainModules.ModRoot(mainModule), dir, nil, err } else if ok { return mainModule, MainModules.ModRoot(mainModule), dir, nil, nil } } }
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/load/godebug.go
// list additional directives from the package under test. func defaultGODEBUG(p *Package, directives, testDirectives, xtestDirectives []build.Directive) string { if p.Name != "main" { return "" } goVersion := modload.MainModules.GoVersion() if modload.RootMode == modload.NoRoot && p.Module != nil { // This is go install pkg@version or go run pkg@version. // Use the Go version from the package. // If there isn't one, then assume Go 1.20,
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed May 15 13:52:10 UTC 2024 - 3.1K bytes - Viewed (0) -
src/cmd/go/internal/workcmd/sync.go
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Sat Jun 03 21:13:11 UTC 2023 - 4.6K bytes - Viewed (0)