Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for pkgMods (0.19 sec)

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

    	// matches the query pattern.
    	//
    	// We track this module separately from pkgMods because, all else equal, we
    	// prefer to match a query to a package rather than just a module. Also,
    	// unlike the modules in pkgMods, this module does not inherently exclude
    	// any other module in pkgMods.
    	mod module.Version
    
    	err error
    }
    
    // errSet returns a pathSet containing the given error.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Nov 27 15:48:25 UTC 2023
    - 11.2K bytes
    - Viewed (0)
  2. src/cmd/go/internal/modload/query.go

    	pkgMods, modOnly, err := QueryPattern(ctx, pattern, query, current, allowed)
    
    	if len(pkgMods) == 0 && err == nil {
    		replacement := Replacement(modOnly.Mod)
    		return nil, &PackageNotInModuleError{
    			Mod:         modOnly.Mod,
    			Replacement: replacement,
    			Query:       query,
    			Pattern:     pattern,
    		}
    	}
    
    	return pkgMods, err
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Dec 11 22:29:11 UTC 2023
    - 44.7K bytes
    - Viewed (0)
Back to top