Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for trimSubdir (0.08 sec)

  1. src/cmd/go/internal/cache/cache.go

    	if err := lockedfile.Write(filepath.Join(c.dir, "trim.txt"), &b, 0666); err != nil {
    		return err
    	}
    
    	return nil
    }
    
    // trimSubdir trims a single cache subdirectory.
    func (c *DiskCache) trimSubdir(subdir string, cutoff time.Time) {
    	// Read all directory entries from subdir before removing
    	// any files, in case removing files invalidates the file offset
    	// in the directory scan. Also, ignore error from f.Readdirnames,
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Sat Mar 09 14:19:39 UTC 2024
    - 20.3K bytes
    - Viewed (0)
Back to top