- Sort Score
- Result 10 results
- Languages All
Results 1 - 3 of 3 for useSumDB (0.15 sec)
-
src/cmd/go/internal/modfetch/bootstrap.go
// Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. //go:build cmd_go_bootstrap package modfetch import "golang.org/x/mod/module" func useSumDB(mod module.Version) bool { return false } func lookupSumDB(mod module.Version) (string, []string, error) { panic("bootstrap")
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Oct 28 18:17:57 UTC 2021 - 386 bytes - Viewed (0) -
src/cmd/go/internal/modfetch/sumdb.go
"cmd/go/internal/lockedfile" "cmd/go/internal/web" "golang.org/x/mod/module" "golang.org/x/mod/sumdb" "golang.org/x/mod/sumdb/note" ) // useSumDB reports whether to use the Go checksum database for the given module. func useSumDB(mod module.Version) bool { if mod.Path == "golang.org/toolchain" { must := true // Downloaded toolchains cannot be listed in go.sum,
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Jun 20 15:02:47 UTC 2023 - 9.1K bytes - Viewed (0) -
src/cmd/go/internal/modfetch/fetch.go
goSum.status[modSum{mod, h}] = st } goSum.mu.Unlock() if done { return nil } // Not listed, so we want to add them. // Consult checksum database if appropriate. if useSumDB(mod) { // Calls base.Fatalf if mismatch detected. if err := checkSumDB(mod, h); err != nil { return err } } // Add mod+h to go.sum, if it hasn't appeared already. if inited {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 30 14:56:56 UTC 2024 - 30.3K bytes - Viewed (0)