Skip to content

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.

unknown

PathLike

BufferEncodingOption | EncodingOption

DisposableTempDir