BloombergLP::bdls::FilesystemUtil::createPrivateDirectory

Create a private directory with the specified path.

Synopsis

Declared in <bdls_filesystemutil.h>

template<class STRING_TYPE>
static
int
createPrivateDirectory(STRING_TYPE const& path);

Description

Same as the overload taking const char *.

Return Value

0 on success, k_ERROR_PATH_NOT_FOUND or k_ERROR_ALREADY_EXISTS as described above, and a negative value otherwise

Parameters

NameDescription
pathfilesystem path of the directory to create