mkdtempDisposableSync
mkdtempDisposableSync(
this,prefix,options?):DisposableTempDir
Defined in: src/node/sync.ts:693
Returns a disposable object whose path property holds the created directory path.
When the object is disposed, the directory and its contents will be removed if it still exists.
If the directory cannot be deleted, disposal will throw an error.
The object has a remove() method which will perform the same task.
Parameters
Section titled “Parameters”unknown
prefix
Section titled “prefix”PathLike
options?
Section titled “options?”BufferEncodingOption | EncodingOption
Returns
Section titled “Returns”DisposableTempDir