#include <cassert>
#include <folly/detail/FileUtilDetail.h>
#include <folly/portability/Config.h>
namespace folly {
namespace fileutil_detail {
namespace {
std::string getTemporaryFilePathStringWithoutTempDirectory(
const std::string& filePath);
std::string getTemporaryFilePathStringWithTemporaryDirectory(
const std::string& temporaryDirectory);
}
std::string getTemporaryFilePathString(
const std::string& filePath, const std::string& temporaryDirectory) { … }
namespace {
std::string getTemporaryFilePathStringWithoutTempDirectory(
const std::string& filePath) { … }
std::string getTemporaryFilePathStringWithTemporaryDirectory(
const std::string& temporaryDirectory) { … }
}
}
}