You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The name of a directory inside the OS temporary directory to create the temporary file or directory in. The directory is created automatically if it doesn't exist.
7
+
8
+
By default, temporary files and directories are created directly inside the OS temporary directory. This option lets you group related temporary files into a subdirectory.
9
+
10
+
Useful for organizing temporary files by app or task, making cleanup and debugging easier.
Copy file name to clipboardExpand all lines: readme.md
+32Lines changed: 32 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -63,6 +63,23 @@ Type: `string`
63
63
64
64
Filename. Mutually exclusive with the `extension` option.
65
65
66
+
##### parentDirectory
67
+
68
+
Type: `string`
69
+
70
+
The name of a directory inside the OS temporary directory to create the temporary file in. The directory is created automatically if it doesn't exist.
71
+
72
+
By default, the temporary file is created directly inside the OS temporary directory. This option lets you group related temporary files into a subdirectory.
73
+
74
+
Useful for organizing temporary files by app or task, making cleanup and debugging easier.
Get a temporary directory path. The directory is created for you.
@@ -91,6 +108,21 @@ Useful for testing by making it easier to identify cache directories that are cr
91
108
92
109
*You usually won't need this option. Specify it only when actually needed.*
93
110
111
+
##### parentDirectory
112
+
113
+
Type: `string`
114
+
115
+
The name of a directory inside the OS temporary directory to create the temporary directory in. The directory is created automatically if it doesn't exist.
116
+
117
+
By default, the temporary directory is created directly inside the OS temporary directory. This option lets you group related temporary directories into a subdirectory.
0 commit comments