Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 176 for Module (2.97 sec)

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

    	}
    
    	if e.newMissingVersion != "" {
    		return fmt.Sprintf("package %s provided by %s at latest version %s but not at required version %s", e.Path, e.Module.Path, e.Module.Version, e.newMissingVersion)
    	}
    
    	return fmt.Sprintf("missing module for import: %s@%s provides %s", e.Module.Path, e.Module.Version, e.Path)
    }
    
    func (e *ImportMissingError) Unwrap() error {
    	return e.QueryErr
    }
    
    func (e *ImportMissingError) ImportPath() string {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 07 15:21:14 UTC 2024
    - 27.7K bytes
    - Viewed (0)
  2. src/cmd/go/internal/mvs/mvs.go

    	})
    	return min, nil
    }
    
    // UpgradeAll returns a build list for the target module
    // in which every module is upgraded to its latest version.
    func UpgradeAll(target module.Version, reqs UpgradeReqs) ([]module.Version, error) {
    	return buildList([]module.Version{target}, reqs, func(m module.Version) (module.Version, error) {
    		if m.Path == target.Path {
    			return target, nil
    		}
    
    		return reqs.Upgrade(m)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Mar 27 21:58:12 UTC 2024
    - 14.5K bytes
    - Viewed (0)
  3. src/cmd/go/internal/modcmd/download.go

    	"cmd/go/internal/modload"
    	"cmd/go/internal/toolchain"
    
    	"golang.org/x/mod/module"
    )
    
    var cmdDownload = &base.Command{
    	UsageLine: "go mod download [-x] [-json] [-reuse=old.json] [modules]",
    	Short:     "download modules to local cache",
    	Long: `
    Download downloads the named modules, which can be module patterns selecting
    dependencies of the main module or module queries of the form path@version.
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Nov 08 19:32:39 UTC 2023
    - 13.5K bytes
    - Viewed (0)
  4. src/cmd/go/internal/modload/modfile.go

    // It also returns the modroot of the module providing the replacement if
    // one was found.
    func resolveReplacement(m module.Version) module.Version {
    	if r := Replacement(m); r.Path != "" {
    		return r
    	}
    	return m
    }
    
    func toReplaceMap(replacements []*modfile.Replace) map[module.Version]module.Version {
    	replaceMap := make(map[module.Version]module.Version, len(replacements))
    	for _, r := range replacements {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 26 17:53:40 UTC 2023
    - 26.7K bytes
    - Viewed (0)
  5. maven-api-impl/src/main/java/org/apache/maven/internal/impl/DefaultDependencyResolverResult.java

         *           (a module existing only in test output, not in main output) should be uncommon.</li>
         *     </ul>
         *   </li>
         *   <li>Otherwise (test output contains no module information), then:
         *     <ul>
         *       <li>If the main output is on the module-path, place the test output
         *           on a {@code --patch-module} option.</li>
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Tue Jun 11 07:23:04 UTC 2024
    - 14.6K bytes
    - Viewed (0)
  6. maven-api-impl/src/main/java/org/apache/maven/internal/impl/PathModularization.java

         *
         * <p><b>Algorithm:</b>
         * If the given path is a directory, then there is a choice:
         * </p>
         * <ul>
         *   <li><b>Package hierarchy:</b> if a {@code module-info.class} file is found at the root,
         *       then builds a singleton map with the module name declared in that descriptor.</li>
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Mon May 13 09:53:45 UTC 2024
    - 12.5K bytes
    - Viewed (0)
  7. src/cmd/go/internal/modfetch/repo.go

    // In this example, "rsc.io/qr" is both a module path and an import path.
    // But "rsc.io/qr/gf256" is only an import path, not a module path:
    // it names an importable package, but not a module.
    //
    // As a special case to incorporate code written before modules were
    // introduced, if a path p resolves using the pre-module "go get" lookup
    // to the root of a source code repository without a go.mod file,
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 23 16:36:19 UTC 2023
    - 15.2K bytes
    - Viewed (0)
  8. api/maven-api-core/src/main/java/org/apache/maven/api/JavaPathType.java

     * or another kind of path.
     *
     * <p>One path type is handled in a special way: unlike other options,
     * the paths specified in a {@code --patch-module} Java option is effective only for a specified module.
     * This type is created by calls to {@link #patchModule(String)} and a new instance must be created for
     * every module to patch.</p>
     *
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Mon May 13 09:53:45 UTC 2024
    - 15K bytes
    - Viewed (0)
  9. src/cmd/go/internal/modload/edit.go

    	// selectedRoot records the edited version (possibly "none") for each module
    	// path that would be a root in the edited requirements.
    	var selectedRoot map[string]string // module path → edited version
    	if rootPruning == pruned {
    		selectedRoot = maps.Clone(rs.maxRootVersion)
    	} else {
    		// In a module without graph pruning, modules that provide packages imported
    		// by the main module may either be explicit roots or implicit transitive
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Mar 15 21:46:32 UTC 2024
    - 34.1K bytes
    - Viewed (0)
  10. src/cmd/go/testdata/script/mod_outside.txt

    # resolved to a module.
    ! go install ./needmod/needmod.go
    stderr 'needmod[/\\]needmod.go:10:2: no required module provides package example.com/version: go.mod file not found in current directory or any parent directory; see ''go help modules''$'
    
    # 'go run' should fail if a package argument must be resolved to a module.
    ! go run example.com/printversion
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Jan 18 15:34:40 UTC 2023
    - 11.2K bytes
    - Viewed (0)
Back to top