Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for lookupSumDB (0.09 sec)

  1. src/cmd/go/internal/modfetch/bootstrap.go

    // 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)
  2. src/cmd/go/internal/modfetch/sumdb.go

    		if must {
    			return true
    		}
    	}
    	return cfg.GOSUMDB != "off" && !module.MatchPrefixPatterns(cfg.GONOSUMDB, mod.Path)
    }
    
    // lookupSumDB returns the Go checksum database's go.sum lines for the given module,
    // along with the name of the database.
    func lookupSumDB(mod module.Version) (dbname string, lines []string, err error) {
    	dbOnce.Do(func() {
    		dbName, db, dbErr = dbDial()
    	})
    	if dbErr != nil {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jun 20 15:02:47 UTC 2023
    - 9.1K bytes
    - Viewed (0)
Back to top