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(): voidReturns
void
cleaned()
cleaned(): booleancheck if a path exists in the temporary directory
Returns
boolean
Inherited from
Omit.cleanedpath()
path(...args): stringcreate a absolute path relative to the temporary directory
Parameters
| Parameter | Type |
|---|---|
... |
|
Returns
string
Inherited from
Omit.pathtrack()
track(): voidtrack the temporary directory for automatic cleanup on process exit
Returns
void
Inherited from
Omit.tracktracked()
tracked(): booleancheck if the temporary directory is tracked
Returns
boolean
Inherited from
Omit.trackeduntrack()
untrack(): voiduntrack the temporary directory
Returns
void
Inherited from
Omit.untrack