Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 140 for mainModules (0.14 sec)

  1. src/cmd/go/internal/modget/get.go

    			// restricted to matching packages in the main module.
    			pkgPattern, mainModule := modload.MainModules.DirImportPath(ctx, q.pattern)
    			if pkgPattern == "." {
    				modload.MustHaveModRoot()
    				var modRoots []string
    				for _, m := range modload.MainModules.Versions() {
    					modRoots = append(modRoots, modload.MainModules.ModRoot(m))
    				}
    				var plural string
    				if len(modRoots) != 1 {
    					plural = "s"
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Jun 07 18:26:32 UTC 2024
    - 66.5K bytes
    - Viewed (0)
  2. src/cmd/go/internal/modload/vendor.go

    			}
    		}
    	}
    	for _, modFile := range modFiles {
    		checkReplace(modFile.Replace)
    	}
    	if MainModules.workFile != nil {
    		checkReplace(MainModules.workFile.Replace)
    	}
    
    	for _, mod := range vendorList {
    		meta := vendorMeta[mod]
    		if meta.Explicit {
    			// in workspace mode, check that it's required by at least one of the main modules
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Jul 24 18:09:22 UTC 2023
    - 9.5K bytes
    - Viewed (0)
  3. analysis/analysis-api-impl-base/tests/org/jetbrains/kotlin/analysis/api/impl/base/test/cases/session/AbstractSessionInvalidationTest.kt

         */
        protected open fun shouldSkipValidityCheck(session: SESSION): Boolean = false
    
        override fun doTest(testServices: TestServices) {
            val ktModules = testServices.ktTestModuleStructure.mainModules.map { it.ktModule }
    
            val sessionsBeforeModification = getSessions(ktModules)
            checkSessionValidityBeforeModification(sessionsBeforeModification, testServices)
    
    Registered: Wed Jun 12 09:53:16 UTC 2024
    - Last Modified: Thu Jun 06 17:44:50 UTC 2024
    - 5.7K bytes
    - Viewed (0)
  4. src/cmd/go/internal/modcmd/verify.go

    	}
    }
    
    func verifyMod(ctx context.Context, mod module.Version) []error {
    	if gover.IsToolchain(mod.Path) {
    		// "go" and "toolchain" have no disk footprint; nothing to verify.
    		return nil
    	}
    	if modload.MainModules.Contains(mod.Path) {
    		return nil
    	}
    	var errs []error
    	zip, zipErr := modfetch.CachePath(ctx, mod, "zip")
    	if zipErr == nil {
    		_, zipErr = os.Stat(zip)
    	}
    	dir, dirErr := modfetch.DownloadDir(ctx, mod)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Feb 21 16:56:35 UTC 2024
    - 3.6K bytes
    - Viewed (0)
  5. src/cmd/go/internal/modget/query.go

    			// request that we remove all module requirements, leaving only the main
    			// module and standard library. Perhaps we should implement that someday.
    			return &modload.QueryUpgradesAllError{
    				MainModules: modload.MainModules.Versions(),
    				Query:       q.version,
    			}
    		}
    	}
    
    	if search.IsMetaPackage(q.pattern) && q.pattern != "all" {
    		if q.pattern != q.raw {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Nov 27 15:48:25 UTC 2023
    - 11.2K bytes
    - Viewed (0)
  6. src/cmd/go/internal/modload/build.go

    	if m.Version == "" && MainModules.Contains(m.Path) {
    		info := &modinfo.ModulePublic{
    			Path:    m.Path,
    			Version: m.Version,
    			Main:    true,
    		}
    		if v, ok := rawGoVersion.Load(m); ok {
    			info.GoVersion = v.(string)
    		} else {
    			panic("internal error: GoVersion not set for main module")
    		}
    		if modRoot := MainModules.ModRoot(m); modRoot != "" {
    			info.Dir = modRoot
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Feb 16 16:56:39 UTC 2024
    - 13.3K bytes
    - Viewed (0)
  7. src/cmd/go/internal/modload/list.go

    	if len(args) == 0 {
    		var ms []*modinfo.ModulePublic
    		for _, m := range MainModules.Versions() {
    			if gover.IsToolchain(m.Path) {
    				continue
    			}
    			ms = append(ms, moduleInfo(ctx, rs, m, mode, reuse))
    		}
    		return rs, ms, nil
    	}
    
    	needFullGraph := false
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Nov 17 22:43:50 UTC 2023
    - 8.8K bytes
    - Viewed (0)
  8. src/cmd/go/internal/modload/edit.go

    			// If we couldn't load the graph, we don't know what its requirements were
    			// to begin with, so we can't edit those requirements in a coherent way.
    			return orig, false, err
    		}
    		bl := mg.BuildList()[MainModules.Len():]
    		selectedRoot = make(map[string]string, len(bl))
    		for _, m := range bl {
    			selectedRoot[m.Path] = m.Version
    		}
    	}
    
    	for _, r := range tryUpgrade {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Mar 15 21:46:32 UTC 2024
    - 34.1K bytes
    - Viewed (0)
  9. src/cmd/go/internal/test/test.go

    		// users) by writing the failing input to the package's testdata directory.
    		// (See https://golang.org/issue/48495 and test_fuzz_modcache.txt.)
    		mainMods := modload.MainModules
    		if m := pkgs[0].Module; m != nil && m.Path != "" {
    			if !mainMods.Contains(m.Path) {
    				base.Fatalf("cannot use -fuzz flag on package outside the main module")
    			}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 16 14:34:32 UTC 2024
    - 71.9K bytes
    - Viewed (0)
  10. platforms/software/dependency-management/src/integTest/groovy/org/gradle/integtests/resolve/maven/MavenGradleMetadataRedirectionIntegrationTest.groovy

            buildFile << """
                dependencies {
                    api "org:main:1.0"
                }
            """
    
            when:
            mainModule.pom.expectGet()
            mainModule.moduleMetadata.expectGet()
            mainModule.artifact.expectGet()
            dep.pom.expectGet()
            dep.artifact.expectGet()
    
            run ':checkDeps'
    
            then:
            resolve.expectGraph {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Oct 10 21:10:11 UTC 2023
    - 5.1K bytes
    - Viewed (0)
Back to top