- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 12 for TagSum (0.12 sec)
-
src/cmd/go/testdata/script/reuse_git.txt
env GO111MODULE=on env GOPROXY=direct env GOSUMDB=off # go mod download with the pseudo-version should invoke git but not have a TagSum or Ref. go mod download -x -json vcs-test.golang.org/git/hello.git@v0.0.0-20170922010558-fc3a09f3dc5c stderr 'git( .*)* fetch' cp stdout hellopseudo.json ! stdout '"(Query|TagPrefix|TagSum|Ref)"' stdout '"Version": "v0.0.0-20170922010558-fc3a09f3dc5c"' stdout '"VCS": "git"' stdout '"URL": ".*/git/hello"'
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Mar 11 22:10:38 UTC 2024 - 15.5K bytes - Viewed (0) -
src/cmd/go/testdata/script/mod_list_issue61415.txt
cp stdout has-nested.json stdout '"Origin":' stdout '"VCS": "git"' stdout '"URL":' # randomly-chosen vcweb localhost URL stdout '"Subdir": "nested"' stdout '"TagPrefix": "nested/"' stdout '"TagSum": "t1:47DEQpj8HBSa\+/TImW\+5JCeuQeRkm5NMpJWZG3hSuFU="' stdout '"Ref": "refs/tags/has-nested"' stdout '"Hash": "08a4fa6bb9c04ffba03b26ae427b0d6335d90a2a"'
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Nov 16 22:15:45 UTC 2023 - 3.1K bytes - Viewed (0) -
src/cmd/go/testdata/script/mod_list_issue61423.txt
stdout '"Ref": "HEAD"' stdout '"TagSum": "t1:47DEQpj8HBSa\+/TImW\+5JCeuQeRkm5NMpJWZG3hSuFU="' go list -reuse=git-latest.json -m -json vcs-test.golang.org/git/issue61415.git@latest stdout '"Version": "v0.0.0-20231114180001-f213069baa68"' stdout '"Origin":' stdout '"VCS": "git"' stdout '"Hash": "f213069baa68ec26412fb373c7cf6669db1f8e69"' stdout '"Ref": "HEAD"' stdout '"TagSum": "t1:47DEQpj8HBSa\+/TImW\+5JCeuQeRkm5NMpJWZG3hSuFU="'
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Nov 17 22:43:50 UTC 2023 - 3.3K bytes - Viewed (0) -
src/cmd/go/internal/modload/build.go
merged := *m1 if m2.Hash != "" { if m1.Hash != "" && m1.Hash != m2.Hash { return nil } merged.Hash = m2.Hash } if m2.TagSum != "" { if m1.TagSum != "" && (m1.TagSum != m2.TagSum || m1.TagPrefix != m2.TagPrefix) { return nil } merged.TagSum = m2.TagSum merged.TagPrefix = m2.TagPrefix } if m2.Ref != "" { if m1.Ref != "" && m1.Ref != m2.Ref { return nil }
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/modfetch/codehost/git.go
} // Note: Can have Hash with no Ref and no TagSum and no RepoSum, // meaning the Hash simply has to remain in the repo. // In that case we assume it does in the absence of any real way to check. // But if neither Hash nor TagSum is present, we have nothing to check, // which we take to mean we didn't record enough information to be sure. if old.Hash == "" && old.TagSum == "" && old.RepoSum == "" {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Mar 11 22:10:38 UTC 2024 - 27.4K bytes - Viewed (0) -
src/cmd/go/internal/modfetch/codehost/codehost.go
Hash string `json:",omitempty"` // commit hash or ID // If TagSum is non-empty, then the resolution of this module version // depends on the set of tags present in the repo, specifically the tags // of the form TagPrefix + a valid semver version. // If the matching repo tags and their commit hashes still hash to TagSum, // the Origin is still valid (at least as far as the tags are concerned).
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Sun Apr 14 18:50:24 UTC 2024 - 12.8K bytes - Viewed (0) -
src/cmd/go/internal/modload/query.go
if origin.TagSum == "" { return fmt.Errorf("query %q requires a TagSum", query) } default: // The query may be "latest" or a version inequality or prefix. // Its result depends on the absence of higher tags matching the query, // not just the state of an individual ref or tag. if origin.TagSum == "" { return fmt.Errorf("query %q requires a TagSum", query) }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Dec 11 22:29:11 UTC 2023 - 44.7K bytes - Viewed (0) -
src/cmd/go/internal/modfetch/codehost/vcs.go
unlock, err := r.mu.Lock() if err != nil { return nil, err } defer unlock() r.tagsOnce.Do(func() { r.loadTags(ctx) }) tags := &Tags{ // None of the other VCS provide a reasonable way to compute TagSum // without downloading the whole repo, so we only include VCS and URL // in the Origin. Origin: &Origin{ VCS: r.cmd.vcs, URL: r.remote, }, List: []Tag{}, } for tag := range r.tags {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Sun Apr 14 18:50:24 UTC 2024 - 17.3K bytes - Viewed (0) -
src/cmd/go/internal/modfetch/coderepo.go
if tagsErr != nil { revInfo.Origin = nil if err == nil { err = tagsErr } } else { origin.TagPrefix = tags.Origin.TagPrefix origin.TagSum = tags.Origin.TagSum } } }() // If this is a plain tag (no dir/ prefix) // and the module path is unversioned, // and if the underlying file tree has no go.mod,
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Sun Apr 14 18:50:24 UTC 2024 - 38.4K bytes - Viewed (0) -
src/cmd/go/internal/modfetch/cache.go
clean := *info info = &clean o := *info.Origin info.Origin = &o // Tags never matter if you are starting with a semver version, // as we would be when finding this cache entry. o.TagSum = "" o.TagPrefix = "" // Ref doesn't matter if you have a pseudoversion. if module.IsPseudoVersion(info.Version) { o.Ref = "" } } js, err := json.Marshal(info) if err != nil {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri May 03 18:15:22 UTC 2024 - 24.7K bytes - Viewed (0)