Documentation ¶
Overview ¶
Package tempfile provides tools to create and delete temporary files
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Cleanup ¶
func Cleanup()
Cleanup removes any temporary files or directories selected for deferred cleaning. Similar to defer semantics, the nodes are deleted in LIFO order.
func DeferDelete ¶
func DeferDelete(path string)
DeferDelete marks a file or directory to be deleted by next call to Cleanup.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.