TmpFileSyncHelper
Less than 1 minute
Synchronous helper interface for managing a temporary file.
Properties
Property | Type | Description | Inherited from |
---|---|---|---|
| the path to the temporary file |
|
Methods
clean()
clean(): void
Returns
void
cleaned()
cleaned(): boolean
check if the temporary file has been cleaned
Returns
boolean
Inherited from
Omit.cleaned
track()
track(): void
track the temporary file for automatic cleanup on process exit
Returns
void
Inherited from
Omit.track
tracked()
tracked(): boolean
check if the temporary file is tracked
Returns
boolean
Inherited from
Omit.tracked
untrack()
untrack(): void
untrack the temporary file
Returns
void
Inherited from
Omit.untrack