TmpDirSyncHelper
Less than 1 minute
Synchronous helper interface for managing a temporary directory.
Properties
Property | Type | Description | Inherited from |
---|---|---|---|
| the path to the temporary directory |
|
Methods
clean()
clean(): void
Returns
void
cleaned()
cleaned(): boolean
check if a path exists in the temporary directory
Returns
boolean
Inherited from
Omit.cleaned
path()
path(...args): string
create a absolute path relative to the temporary directory
Parameters
Parameter | Type |
---|---|
... |
|
Returns
string
Inherited from
Omit.path
track()
track(): void
track the temporary directory for automatic cleanup on process exit
Returns
void
Inherited from
Omit.track
tracked()
tracked(): boolean
check if the temporary directory is tracked
Returns
boolean
Inherited from
Omit.tracked
untrack()
untrack(): void
untrack the temporary directory
Returns
void
Inherited from
Omit.untrack