Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 73 for retractions (0.48 sec)

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

    			retractions = append(retractions, modMessage{m: m})
    		}
    	}
    	sort.Slice(retractions, func(i, j int) bool { return retractions[i].m.Path < retractions[j].m.Path })
    	for i := range retractions {
    		i := i
    		r.work.Add(func() {
    			err := modload.CheckRetractions(ctx, retractions[i].m)
    			if retractErr := (*modload.ModuleRetractedError)(nil); errors.As(err, &retractErr) {
    				retractions[i].message = err.Error()
    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/modfetch/coderepo.go

    	}
    	f, err := modfile.ParseLax("go.mod", data, nil)
    	if err != nil {
    		return nil, err
    	}
    	retractions := make([]modfile.VersionInterval, 0, len(f.Retract))
    	for _, r := range f.Retract {
    		retractions = append(retractions, r.VersionInterval)
    	}
    
    	return func(v string) bool {
    		for _, r := range retractions {
    			if semver.Compare(r.Low, v) <= 0 && semver.Compare(v, r.High) <= 0 {
    				return true
    			}
    		}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Sun Apr 14 18:50:24 UTC 2024
    - 38.4K bytes
    - Viewed (0)
  3. src/cmd/go/testdata/script/mod_edit.txt

    cmpenv go.mod $WORK/go.mod.edit2
    
    # go mod edit -json
    go mod edit -json
    cmpenv stdout $WORK/go.mod.json
    
    # go mod edit -json (retractions with rationales)
    go mod edit -json $WORK/go.mod.retractrationale
    cmp stdout $WORK/go.mod.retractrationale.json
    
    # go mod edit -json (deprecation)
    go mod edit -json $WORK/go.mod.deprecation
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 15 13:52:10 UTC 2024
    - 6.6K bytes
    - Viewed (0)
  4. src/cmd/go/internal/toolchain/select.go

    	defer modload.Reset()
    
    	// See internal/load.PackagesAndErrorsOutsideModule
    	ctx := context.Background()
    	allowed := modload.CheckAllowed
    	if modload.IsRevisionQuery(path, version) {
    		// Don't check for retractions if a specific revision is requested.
    		allowed = nil
    	}
    	noneSelected := func(path string) (version string) { return "none" }
    	_, err := modload.QueryPackages(ctx, path, version, noneSelected, allowed)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 07 17:25:05 UTC 2024
    - 23.4K bytes
    - Viewed (0)
  5. staging/publishing/import-restrictions.yaml

    Sascha Grunert <******@****.***> 1714653658 +0200
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu May 30 13:13:22 UTC 2024
    - 7.7K bytes
    - Viewed (0)
  6. src/cmd/go/internal/load/pkg.go

    	// later arguments, and other modules would. Let's not try to be too
    	// magical though.
    	allowed := modload.CheckAllowed
    	if modload.IsRevisionQuery(firstPath, version) {
    		// Don't check for retractions if a specific revision is requested.
    		allowed = nil
    	}
    	noneSelected := func(path string) (version string) { return "none" }
    	qrs, err := modload.QueryPackages(ctx, patterns[0], version, noneSelected, allowed)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 28 17:00:51 UTC 2024
    - 120K bytes
    - Viewed (0)
  7. src/cmd/vendor/golang.org/x/tools/internal/typeparams/coretype.go

    // type restrictions of a type, if any.
    //
    // For all types other than *types.TypeParam, *types.Interface, and
    // *types.Union, this is just a single term with Tilde() == false and
    // Type() == typ. For *types.TypeParam, *types.Interface, and *types.Union, see
    // below.
    //
    // Structural type restrictions of a type parameter are created via
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jun 04 16:19:04 UTC 2024
    - 5.3K bytes
    - Viewed (0)
  8. platforms/core-runtime/stdlib-java-extensions/src/main/java/org/gradle/internal/InternalTransformer.java

     * limitations under the License.
     */
    
    package org.gradle.internal;
    
    /**
     * Equivalent to {@code Transformer}, but does not declare nullability due to Java 6 restrictions.
     *
     * <p>A {@code Transformer} transforms objects of type.</p>
     *
     * <p>Implementations are free to return new objects or mutate the incoming value.</p>
     *
     * @param <OUT> The type the value is transformed to.
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Jun 10 14:28:48 UTC 2024
    - 1.2K bytes
    - Viewed (0)
  9. src/cmd/vendor/golang.org/x/tools/go/types/typeutil/map.go

    			// avoid anonymous interface cycles.
    			hash += 3*hashString(m.Name()) + 5*h.shallowHash(m.Type())
    		}
    
    		// Hash type restrictions.
    		terms, err := typeparams.InterfaceTermSet(t)
    		// if err != nil t has invalid type restrictions.
    		if err == nil {
    			hash += h.hashTermSet(terms)
    		}
    
    		return hash
    
    	case *types.Map:
    		return 9109 + 2*h.Hash(t.Key()) + 3*h.Hash(t.Elem())
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 03 02:38:00 UTC 2024
    - 13.9K bytes
    - Viewed (0)
  10. staging/README.md

       for creating the staging repository.
    
    2. Once approval has been granted, create the new staging repository.
    
    3. Update
       [`import-restrictions.yaml`](/staging/publishing/import-restrictions.yaml)
       to add the list of other staging repos that this new repo can import.
    
    4. Add all mandatory template files to the staging repo as mentioned in
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Jun 06 11:23:09 UTC 2024
    - 5.7K bytes
    - Viewed (0)
Back to top