- Sort Score
- Result 10 results
- Languages All
Results 1 - 1 of 1 for cleanupTempFiles (0.14 sec)
-
src/cmd/vendor/github.com/google/pprof/internal/driver/tempfile.go
func deferDeleteTempFile(path string) { tempFilesMu.Lock() tempFiles = append(tempFiles, path) tempFilesMu.Unlock() } // cleanupTempFiles removes any temporary files selected for deferred cleaning. func cleanupTempFiles() error { tempFilesMu.Lock() defer tempFilesMu.Unlock() var lastErr error for _, f := range tempFiles { if err := os.Remove(f); err != nil { lastErr = err }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Oct 22 23:33:06 UTC 2020 - 1.7K bytes - Viewed (0)