Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 30 for rootNode (0.29 sec)

  1. src/cmd/go/internal/modload/import_test.go

    	testenv.MustHaveExecPath(t, "git")
    
    	oldAllowMissingModuleImports := allowMissingModuleImports
    	oldRootMode := RootMode
    	defer func() {
    		allowMissingModuleImports = oldAllowMissingModuleImports
    		RootMode = oldRootMode
    	}()
    	allowMissingModuleImports = true
    	RootMode = NoRoot
    
    	ctx := context.Background()
    	rs := LoadModFile(ctx)
    
    	for _, tt := range importTests {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 20 15:29:06 UTC 2022
    - 2.2K bytes
    - Viewed (0)
  2. maven-model-builder/src/main/java/org/apache/maven/model/building/DefaultModelProblemCollector.java

            return ModelProblemUtils.toId(sourceModel);
        }
    
        public void setRootModel(Model rootModel) {
            this.rootModel = rootModel;
        }
    
        public Model getRootModel() {
            return rootModel;
        }
    
        public String getRootModelId() {
            return ModelProblemUtils.toId(rootModel);
        }
    
        public void add(ModelProblem problem) {
            problems.add(problem);
    
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Wed Sep 06 08:39:32 UTC 2023
    - 5.5K bytes
    - Viewed (0)
  3. maven-api-impl/src/main/java/org/apache/maven/internal/impl/model/DefaultModelProblemCollector.java

            return ModelProblemUtils.toId(sourceModel);
        }
    
        public void setRootModel(Model rootModel) {
            this.rootModel = rootModel;
        }
    
        public Model getRootModel() {
            return rootModel;
        }
    
        public String getRootModelId() {
            return ModelProblemUtils.toId(rootModel);
        }
    
        @Override
        public void add(ModelProblem problem) {
            problems.add(problem);
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Fri Apr 12 10:50:18 UTC 2024
    - 6.3K bytes
    - Viewed (0)
  4. platforms/documentation/docs/src/docs/dsl/org.gradle.api.plugins.sonar.SonarAnalyze.xml

            <title>Properties</title>
            <table>
                <thead>
                    <tr>
                        <td>Name</td>
                    </tr>
                </thead>
                <tr>
                    <td>rootModel</td>
                </tr>
            </table>
        </section>
        <section>
            <title>Methods</title>
            <table>
                <thead>
                    <tr><td>Name</td></tr>
                </thead>
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Nov 27 17:53:42 UTC 2023
    - 477 bytes
    - Viewed (0)
  5. src/cmd/go/internal/modcmd/graph.go

    func runGraph(ctx context.Context, cmd *base.Command, args []string) {
    	modload.InitWorkfile()
    
    	if len(args) > 0 {
    		base.Fatalf("go: 'go mod graph' accepts no arguments")
    	}
    	modload.ForceUseModules = true
    	modload.RootMode = modload.NeedRoot
    
    	goVersion := graphGo.String()
    	if goVersion != "" && gover.Compare(gover.Local(), goVersion) < 0 {
    		toolchain.SwitchOrFatal(ctx, &gover.TooNewError{
    			What:      "-go flag",
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Sat Jun 03 21:13:11 UTC 2023
    - 2.2K bytes
    - Viewed (0)
  6. src/cmd/go/internal/load/godebug.go

    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)
  7. src/cmd/go/internal/modcmd/verify.go

    	modload.InitWorkfile()
    
    	if len(args) != 0 {
    		// NOTE(rsc): Could take a module pattern.
    		base.Fatalf("go: verify takes no arguments")
    	}
    	modload.ForceUseModules = true
    	modload.RootMode = modload.NeedRoot
    
    	// Only verify up to GOMAXPROCS zips at once.
    	type token struct{}
    	sem := make(chan token, runtime.GOMAXPROCS(0))
    
    	mg, err := modload.LoadModGraph(ctx, "")
    	if err != nil {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Feb 21 16:56:35 UTC 2024
    - 3.6K bytes
    - Viewed (0)
  8. src/cmd/go/internal/modcmd/why.go

    	base.AddChdirFlag(&cmdWhy.Flag)
    	base.AddModCommonFlags(&cmdWhy.Flag)
    }
    
    func runWhy(ctx context.Context, cmd *base.Command, args []string) {
    	modload.InitWorkfile()
    	modload.ForceUseModules = true
    	modload.RootMode = modload.NeedRoot
    	modload.ExplicitWriteGoMod = true // don't write go.mod in ListModules
    
    	loadOpts := modload.PackageOpts{
    		Tags:                     imports.AnyTags(),
    		VendorModulesInGOROOTSrc: true,
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Jun 01 21:32:23 UTC 2023
    - 3.8K bytes
    - Viewed (0)
  9. src/cmd/go/internal/modcmd/tidy.go

    	// that are in 'all' but outside of the main module, we must explicitly
    	// request that their test dependencies be included.
    	modload.ForceUseModules = true
    	modload.RootMode = modload.NeedRoot
    
    	goVersion := tidyGo.String()
    	if goVersion != "" && gover.Compare(gover.Local(), goVersion) < 0 {
    		toolchain.SwitchOrFatal(ctx, &gover.TooNewError{
    			What:      "-go flag",
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 30 14:56:56 UTC 2024
    - 5K bytes
    - Viewed (0)
  10. src/cmd/go/internal/run/run.go

    		// This must be done before modload.Init, but we need to call work.BuildInit
    		// before loading packages, since it affects package locations, e.g.,
    		// for -race and -msan.
    		modload.ForceUseModules = true
    		modload.RootMode = modload.NoRoot
    		modload.AllowMissingModuleImports()
    		modload.Init()
    	} else {
    		modload.InitWorkfile()
    	}
    
    	work.BuildInit()
    	b := work.NewBuilder("")
    	defer func() {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 19 19:09:38 UTC 2023
    - 6.9K bytes
    - Viewed (0)
Back to top