Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 1 of 1 for FindAndHash (0.26 seconds)

  1. src/cmd/buildid/buildid.go

    		fmt.Printf("%s\n", id)
    		return
    	}
    
    	// Keep in sync with src/cmd/go/internal/work/buildid.go:updateBuildID
    
    	f, err := os.Open(file)
    	if err != nil {
    		log.Fatal(err)
    	}
    	matches, hash, err := buildid.FindAndHash(f, id, 0)
    	f.Close()
    	if err != nil {
    		log.Fatal(err)
    	}
    
    	// <= go 1.7 doesn't embed the contentID or actionID, so no slash is present
    	if !strings.Contains(id, "/") {
    Created: Tue Apr 07 11:13:11 GMT 2026
    - Last Modified: Fri Jun 21 19:58:04 GMT 2024
    - 1.7K bytes
    - Click Count (0)
Back to Top