Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for testExpired (0.1 sec)

  1. src/cmd/go/internal/clean/clean.go

    		// we write a file to the cache indicating that all test results from before
    		// right now are to be ignored.
    		dir, _ := cache.DefaultDir()
    		if dir != "off" {
    			f, err := lockedfile.Edit(filepath.Join(dir, "testexpire.txt"))
    			if err == nil {
    				now := time.Now().UnixNano()
    				buf, _ := io.ReadAll(f)
    				prev, _ := strconv.ParseInt(strings.TrimSpace(string(buf)), 10, 64)
    				if now > prev {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 16 14:34:32 UTC 2024
    - 10.3K bytes
    - Viewed (0)
Back to top