Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 375 for retracted (0.19 sec)

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

    		// hide versions, since the "list" and "latest" endpoints are not
    		// authenticated.
    		return
    	} else if errors.As(err, &retractErr) {
    		if len(retractErr.Rationale) == 0 {
    			m.Retracted = []string{"retracted by module author"}
    		} else {
    			m.Retracted = retractErr.Rationale
    		}
    	} else if m.Error == nil {
    		m.Error = &modinfo.ModuleError{Err: err.Error()}
    	}
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Feb 16 16:56:39 UTC 2024
    - 13.3K bytes
    - Viewed (0)
  2. src/cmd/go/internal/list/list.go

    The -retracted flag causes list to report information about retracted
    module versions. When -retracted is used with -f or -json, the Retracted
    field will be set to a string explaining why the version was retracted.
    The string is taken from comments on the retract directive in the
    module's go.mod file. When -retracted is used with -versions, retracted
    versions are listed together with unretracted versions. The -retracted
    flag may be used with or without -m.
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Feb 16 16:56:39 UTC 2024
    - 33.3K bytes
    - Viewed (0)
  3. src/cmd/go/internal/modinfo/info.go

    	GoMod      string           `json:",omitempty"` // path to go.mod file describing module, if any
    	GoVersion  string           `json:",omitempty"` // go version used in module
    	Retracted  []string         `json:",omitempty"` // retraction information, if any (with -retracted or -u)
    	Deprecated string           `json:",omitempty"` // deprecation message, if any (with -u)
    	Error      *ModuleError     `json:",omitempty"` // error loading module
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Mar 26 19:58:28 UTC 2024
    - 3.1K bytes
    - Viewed (0)
  4. src/cmd/go/internal/modload/modfile.go

    			}
    			summary.require = append(summary.require, module.Version{Path: "go", Version: summary.goVersion})
    		}
    		if len(f.Retract) > 0 {
    			summary.retract = make([]retraction, 0, len(f.Retract))
    			for _, ret := range f.Retract {
    				summary.retract = append(summary.retract, retraction{
    					VersionInterval: ret.VersionInterval,
    					Rationale:       ret.Rationale,
    				})
    			}
    		}
    
    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. src/cmd/go/testdata/script/mod_tidy_compat_incompatible.txt

    
    # There are two ways for the module author to bring the two into alignment.
    # One is to *explicitly* 'exclude' the version that is already *implicitly*
    # pruned out under 1.17.
    
    go mod edit -exclude=example.com/retract/incompatible@v2.0.0+incompatible
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 30 14:56:56 UTC 2024
    - 5.5K bytes
    - Viewed (0)
  6. src/cmd/go/internal/modload/list.go

    					continue
    				}
    			}
    
    			allowed := CheckAllowed
    			if IsRevisionQuery(path, vers) || mode&ListRetracted != 0 {
    				// Allow excluded and retracted versions if the user asked for a
    				// specific revision or used 'go list -retracted'.
    				allowed = nil
    			}
    			info, err := queryReuse(ctx, path, vers, current, allowed, reuse)
    			if err != nil {
    				var origin *codehost.Origin
    				if info != nil {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Nov 17 22:43:50 UTC 2023
    - 8.8K bytes
    - Viewed (0)
  7. src/cmd/go/testdata/script/mod_install_pkg_version.txt

    
    # 'go install pkg@version' will only match a retracted version if it's
    # explicitly requested.
    env GO111MODULE=on
    go list -m -versions example.com/cmd
    ! stdout v1.9.0
    go list -m -versions -retracted example.com/cmd
    stdout v1.9.0
    go install example.com/cmd/a@latest
    go version -m $GOPATH/bin/a$GOEXE
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Mar 21 17:25:54 UTC 2024
    - 8.6K bytes
    - Viewed (0)
  8. src/cmd/vendor/golang.org/x/mod/modfile/work.go

    //
    // Later replace directives take priority.
    //
    // require directives are not de-duplicated. That's left up to higher-level
    // logic (MVS).
    //
    // retract directives are not de-duplicated since comments are
    // meaningful, and versions may be retracted multiple times.
    func (f *WorkFile) removeDups() {
    	removeDups(f.Syntax, nil, &f.Replace)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 14 18:34:56 UTC 2024
    - 7.7K bytes
    - Viewed (0)
  9. src/cmd/go/alldocs.go

    //
    // The -retracted flag causes list to report information about retracted
    // module versions. When -retracted is used with -f or -json, the Retracted
    // field will be set to a string explaining why the version was retracted.
    // The string is taken from comments on the retract directive in the
    // module's go.mod file. When -retracted is used with -versions, retracted
    // versions are listed together with unretracted versions. The -retracted
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jun 11 16:54:28 UTC 2024
    - 142.4K bytes
    - Viewed (0)
  10. src/cmd/go/internal/modfetch/coderepo.go

    	tagPrefix := ""
    	if r.codeDir != "" {
    		tagPrefix = r.codeDir + "/"
    	}
    
    	isRetracted, err := r.retractedVersions(ctx)
    	if err != nil {
    		isRetracted = func(string) bool { return false }
    	}
    
    	// tagToVersion returns the version obtained by trimming tagPrefix from tag.
    	// If the tag is invalid, retracted, or a pseudo-version, tagToVersion returns
    	// an empty version.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Sun Apr 14 18:50:24 UTC 2024
    - 38.4K bytes
    - Viewed (0)
Back to top