Documentation
¶
Overview ¶
Package tmp puts every temporary directory the emulator makes under one process-owned root.
Scattered os.MkdirTemp calls leak: a directory is removed by its owner's Close, and a killed process runs no Close. One root per process means a crash leaves exactly one thing behind, and the next run can tell it from a live emulator's and remove it.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func RemoveRoot ¶
func RemoveRoot() error
RemoveRoot deletes this process's root and everything under it.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.