package tempfile
import "cmd/pprof/internal/tempfile"
Package tempfile provides tools to create and delete temporary files
Index ¶
Functions ¶
func Cleanup ¶
func Cleanup()
Cleanup removes any temporary files selected for deferred cleaning.
func DeferDelete ¶
func DeferDelete(path string)
DeferDelete marks a file to be deleted by next call to Cleanup()
func New ¶
New returns an unused filename for output files.
Source Files ¶
- Version
- v1.6.0
- Published
- Feb 17, 2016
- Platform
- linux/amd64
- Imports
- 4 packages
- Last checked
- 1 minute ago –
Tools for package owners.