BloombergLP::bdls::FilesystemUtil::createPrivateDirectory

Create a private directory with the specified path.

Synopses

Declared in <bdls_filesystemutil.h>

Create a private directory with the specified path.

static
int
createPrivateDirectory(char const* path);
» more...

Create a private directory with the specified path.

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

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