fs.mkdtempSync(prefix[, options])
返回创建的目录路径。
¥Returns the created directory path.
有关详细信息,请参阅此 API 的异步版本的文档:fs.mkdtemp()。
¥For detailed information, see the documentation of the asynchronous version of
this API: fs.mkdtemp().
可选的 options 参数可以是指定编码的字符串,也可以是具有 encoding 属性(指定要使用的字符编码)的对象。
¥The optional options argument can be a string specifying an encoding, or an
object with an encoding property specifying the character encoding to use.