TmpFileHelper
Less than 1 minute
Properties
| Property | Type | Description |
|---|---|---|
| the path to the temporary file |
Methods
clean()
clean(): Promise<void>clean up the temporary file
Returns
Promise<void>
cleaned()
cleaned(): booleancheck if the temporary file has been cleaned
Returns
boolean
track()
track(): voidtrack the temporary file for automatic cleanup on process exit
Returns
void
tracked()
tracked(): booleancheck if the temporary file is tracked
Returns
boolean
untrack()
untrack(): voiduntrack the temporary file
Returns
void