- Sort Score
- Result 10 results
- Languages All
Results 1 - 7 of 7 for TagPrefix (0.21 sec)
-
src/cmd/go/testdata/script/reuse_git.txt
stdout '"Version": "latest"' stdout '"Error":.*no matching versions' ! stdout '"TagPrefix"' stdout '"TagSum": "t1:47DEQpj8HBSa[+]/TImW[+]5JCeuQeRkm5NMpJWZG3hSuFU="' stdout '"Ref": "HEAD"' stdout '"Hash": "fc3a09f3dc5cfe0d7a743ea18f1f5226e68b3777"' ! stdout 'RepoSum' # go mod download vcstest/hello/sub/v9 should also fail, print origin info with TagPrefix ! go mod download -x -json vcs-test.golang.org/git/hello.git/sub/v9@latest
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/internal/modload/build.go
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 } merged.Ref = m2.Ref } switch {
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/coderepo.go
// Tag must have a prefix matching codeDir. 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
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/codehost/codehost.go
// 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). // The exact checksum is up to the Repo implementation; see (*gitRepo).Tags. TagPrefix string `json:",omitempty"` TagSum string `json:",omitempty"`
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/modfetch/codehost/git.go
} if hash != old.Hash { return fmt.Errorf("ref %q moved from %s to %s", old.Ref, old.Hash, hash) } } if old.TagSum != "" { tags, err := r.Tags(ctx, old.TagPrefix) if err != nil { return err } if tags.Origin.TagSum != old.TagSum { return fmt.Errorf("tags changed") } } if old.RepoSum != "" { if r.repoSum(r.refs) != 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/cache.go
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 { return err }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri May 03 18:15:22 UTC 2024 - 24.7K bytes - Viewed (0)