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(): boolean
check if the temporary file has been cleaned
Returns
boolean
track()
track(): void
track the temporary file for automatic cleanup on process exit
Returns
void
tracked()
tracked(): boolean
check if the temporary file is tracked
Returns
boolean
untrack()
untrack(): void
untrack the temporary file
Returns
void