builder util.Class.TmpDir
Electron-Builder / builder-util / TmpDir
Constructors¶
new TmpDir()¶
new TmpDir(
debugName
?):TmpDir
Parameters¶
• debugName?: string
Returns¶
Accessors¶
rootTempDir¶
get
rootTempDir():Promise
<string
>
Returns¶
Promise
<string
>
Methods¶
cleanup()¶
cleanup():
Promise
<any
>
Returns¶
Promise
<any
>
cleanupSync()¶
cleanupSync():
void
Returns¶
void
createTempDir()¶
createTempDir(
options
?):Promise
<string
>
Parameters¶
• options?: GetTempFileOptions
Returns¶
Promise
<string
>
getTempDir()¶
getTempDir(
options
?):Promise
<string
>
Parameters¶
• options?: GetTempFileOptions
Returns¶
Promise
<string
>
getTempFile()¶
getTempFile(
options
?,isDir
?):Promise
<string
>
Parameters¶
• options?: GetTempFileOptions
• isDir?: boolean
Returns¶
Promise
<string
>
toString()¶
toString():
string
Returns¶
string