Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 31 for requirements (0.29 sec)

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

    	"cmd/go/internal/mvs"
    	"cmd/go/internal/par"
    
    	"golang.org/x/mod/module"
    )
    
    // A Requirements represents a logically-immutable set of root module requirements.
    type Requirements struct {
    	// pruning is the pruning at which the requirement graph is computed.
    	//
    	// If unpruned, the graph includes all transitive requirements regardless
    	// of whether the requiring module supports pruning.
    	//
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 15 16:04:44 UTC 2024
    - 53.8K bytes
    - Viewed (0)
  2. src/cmd/go/internal/modload/load.go

    			Tags:                  tags,
    			ResolveMissingImports: true,
    			SilencePackageErrors:  true,
    		},
    		requirements: rs,
    		listRoots: func(*Requirements) (roots []string) {
    			roots = append(roots, imports...)
    			roots = append(roots, testImports...)
    			return roots
    		},
    	})
    	requirements = loaded.requirements
    
    	if !ExplicitWriteGoMod {
    		if err := commitRequirements(ctx, WriteOpts{}); err != nil {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 30 14:56:56 UTC 2024
    - 84K bytes
    - Viewed (0)
  3. src/cmd/go/internal/modload/init.go

    // use LoadModGraph instead.
    func LoadModFile(ctx context.Context) *Requirements {
    	rs, err := loadModFile(ctx, nil)
    	if err != nil {
    		base.Fatal(err)
    	}
    	return rs
    }
    
    func loadModFile(ctx context.Context, opts *PackageOpts) (*Requirements, error) {
    	if requirements != nil {
    		return requirements, nil
    	}
    
    	Init()
    	var workFile *modfile.WorkFile
    	if inWorkspaceMode() {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Jun 06 18:36:30 UTC 2024
    - 69.8K bytes
    - Viewed (0)
  4. src/cmd/vendor/golang.org/x/mod/modfile/rule.go

    // SetRequireSeparateIndirect updates the requirements of f to contain the given
    // requirements. Comment contents (except for 'indirect' markings) are retained
    // from the first existing requirement for each module path. Like SetRequire,
    // SetRequireSeparateIndirect adds requirements for new paths in req,
    // updates the version and "// indirect" comment on existing requirements,
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 14 18:34:56 UTC 2024
    - 46.5K bytes
    - Viewed (0)
  5. src/cmd/vendor/github.com/ianlancetaylor/demangle/ast.go

    		}
    	}
    
    	var requirements strings.Builder
    	fmt.Fprintf(&requirements, "%*sRequirements:", indent+2, "")
    	for i, r := range re.Requirements {
    		requirements.WriteByte('\n')
    		requirements.WriteString(r.goString(indent+4, fmt.Sprintf("%d: ", i)))
    	}
    
    	return fmt.Sprintf("%*s%sRequirements:\n%s\n%s", indent, "", field,
    		params.String(), requirements.String())
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 31 19:48:28 UTC 2024
    - 105.8K bytes
    - Viewed (0)
  6. src/cmd/go/testdata/script/mod_tidy_compat_incompatible.txt

    # requirements to match.
    
    [short] skip
    
    env MODFMT='{{with .Module}}{{.Path}} {{.Version}}{{end}}'
    
    
    # For this module, Go 1.17 prunes out a (transitive and otherwise-irrelevant)
    # requirement on a retracted higher version of a dependency.
    # However, when Go 1.16 reads the same requirements from the go.mod file,
    # it does not prune out that requirement, and selects the retracted version.
    #
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 30 14:56:56 UTC 2024
    - 5.5K bytes
    - Viewed (0)
  7. src/cmd/go/testdata/script/mod_tidy_compat_ambiguous.txt

    # default preserve enough checksums for the module to be used by Go 1.16.
    #
    # We don't have a copy of Go 1.16 handy, but we can simulate it by editing the
    # 'go' version in the go.mod file to 1.16, without actually updating the
    # requirements to match.
    
    [short] skip
    
    env MODFMT='{{with .Module}}{{.Path}} {{.Version}}{{end}}'
    
    # For this module, the dependency providing package
    # example.net/ambiguous/nested/pkg is unambiguous in Go 1.17 (because only one
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 30 14:56:56 UTC 2024
    - 4.8K bytes
    - Viewed (0)
  8. src/cmd/go/internal/modcmd/tidy.go

    The -go flag causes tidy to update the 'go' directive in the go.mod
    file to the given version, which may change which module dependencies
    are retained as explicit requirements in the go.mod file.
    (Go versions 1.17 and higher retain more requirements in order to
    support lazy module loading.)
    
    The -compat flag preserves any additional checksums needed for the
    'go' command from the indicated major Go release to successfully load
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 30 14:56:56 UTC 2024
    - 5K bytes
    - Viewed (0)
  9. src/cmd/go/testdata/script/mod_tidy_compat_added.txt

    # default preserve enough checksums for the module to be used by Go 1.16.
    #
    # We don't have a copy of Go 1.16 handy, but we can simulate it by editing the
    # 'go' version in the go.mod file to 1.16, without actually updating the
    # requirements to match.
    
    [short] skip
    
    env MODFMT='{{with .Module}}{{.Path}} {{.Version}}{{end}}'
    
    
    # For this module, Go 1.17 produces an error for one module, and Go 1.16
    # produces a different error for a different module.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 30 14:56:56 UTC 2024
    - 3.5K bytes
    - Viewed (0)
  10. src/cmd/go/testdata/script/mod_tidy_compat.txt

    # default preserve enough checksums for the module to be used by Go 1.16.
    #
    # We don't have a copy of Go 1.16 handy, but we can simulate it by editing the
    # 'go' version in the go.mod file to 1.16, without actually updating the
    # requirements to match.
    
    [short] skip
    
    env MODFMT='{{with .Module}}{{.Path}} {{.Version}}{{end}}'
    
    
    # This module has the same module dependency graph in Go 1.16 as in Go 1.17,
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 30 14:56:56 UTC 2024
    - 3.3K bytes
    - Viewed (0)
Back to top