Returns a string compatible for mkstemp().

Synopsis

Declared in <folly/detail/FileUtilDetail.h>

std::string
getTemporaryFilePathString(
    std::string const& filePath,
    std::string const& temporaryDirectory);

Return Value

A path template string suitable for mkstemp().

Parameters

Name

Description

filePath

The target file path.

temporaryDirectory

The directory for the temporary file.

Created with MrDocs