CreateTempDirectory
Creates a temporary directory in the specified directory with the specified prefix if passed.
Method Signature
Arguments
Examples
Related
Last updated
Creates a temporary directory in the specified directory with the specified prefix if passed.
Last updated
Argument | Type | Required | Description | Default |
---|---|---|---|---|
directory
string
false
The directory in which to create the temp directory, we default to the system temp directory
/var/folders/sh/yq09rnbj48764cvf2k4nhcxh0000gn/T/
prefix
string
false
The prefix string to be used in generating the directory's name; may be empty