- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 431 for retracted (0.16 sec)
-
src/cmd/go/testdata/script/mod_retract_pseudo_base.txt
# as the base. # Verifies golang.org/issue/41700. [short] skip [!git] skip env GOPROXY=direct env GOSUMDB=off go mod init m # Control: check that v1.0.0 is the only version and is retracted. go list -m -versions vcs-test.golang.org/git/retract-pseudo.git stdout '^vcs-test.golang.org/git/retract-pseudo.git$' go list -m -versions -retracted vcs-test.golang.org/git/retract-pseudo.git
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Apr 24 15:54:04 UTC 2023 - 2.4K bytes - Viewed (0) -
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) -
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) -
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) -
src/cmd/go/testdata/script/mod_graph_version.txt
# the main module). cp go.mod go.mod.orig go mod graph cp stdout graph-1.17.txt stdout '^example\.com/m example\.com/retract/incompatible@v1\.0\.0$' stdout '^example\.net/lazy@v0\.1\.0 example\.com/retract/incompatible@v1\.0\.0$' ! stdout 'example\.com/retract/incompatible@v2\.0\.0\+incompatible' go mod graph -go=1.17 cmp stdout graph-1.17.txt cmp go.mod go.mod.orig
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Nov 10 21:10:42 UTC 2022 - 3.3K bytes - Viewed (0) -
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) -
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) -
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) -
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) -
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)