- Sort Score
- Result 10 results
- Languages All
Results 1 - 4 of 4 for RepoSum (0.21 sec)
-
src/cmd/go/testdata/script/reuse_git.txt
stdout '"Ref": "HEAD"' stdout '"Hash": "fc3a09f3dc5cfe0d7a743ea18f1f5226e68b3777"' ! stdout 'RepoSum' # go mod download vcstest/hello@nonexist should fail, still print origin info ! go mod download -x -json vcs-test.golang.org/git/hello.git@nonexist cp stdout hellononexist.json stdout '"Version": "nonexist"' stdout '"Error":.*unknown revision nonexist' stdout '"RepoSum": "r1:c0/9JCZ25lxoBiK3[+]3BhACU4giH49flcJmBynJ[+]Jvmc="'
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/internal/modfetch/codehost/git.go
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 { return fmt.Errorf("refs changed") } } return nil } // loadRefs loads heads and tags references from the remote into the map r.refs. // The result is cached in memory.
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
Ref string `json:",omitempty"` // If RepoSum is non-empty, then the resolution of this module version // failed due to the repo being available but the version not being present. // This depends on the entire state of the repo, which RepoSum summarizes. // For Git, this is a hash of all the refs and their hashes. RepoSum 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/modload/query.go
// If we got the previous Origin data from a proxy, it may be missing something // that we would have needed to resolve the query directly from the repo. switch { case origin.RepoSum != "": // A RepoSum is always acceptable, since it incorporates everything // (and is often associated with an error result). case query == module.CanonicalVersion(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)