Sets the directory used for the temporary file.

Synopsis

Declared in <folly/FileUtil.h>

WriteFileAtomicOptions&
setTemporaryDirectory(std::string temporaryDirectory);

Return Value

A reference to this options object for chaining.

Parameters

Name

Description

temporaryDirectory

The directory to create the temporary file in.

Created with MrDocs