ΒΆstd::error_code create_directory(
const llvm::Twine& path,
bool IgnoreExisting = true,
llvm::sys::fs::perms Perms = owner_all |
group_all)
std::error_code create_directory(
const llvm::Twine& path,
bool IgnoreExisting = true,
llvm::sys::fs::perms Perms = owner_all |
group_all)
Description
Create the directory in path.
Declared at: llvm/include/llvm/Support/FileSystem.h:335
Parameters
- const llvm::Twine& path
- Directory to create.
- bool IgnoreExisting = true
- llvm::sys::fs::perms Perms = owner_all | group_all
Returns
errc::success if is_directory(path), otherwise a platform specific error_code. If IgnoreExisting is false, also returns error if the directory already existed.