ΒΆstd::error_code setPermissions(
const llvm::Twine& Path,
llvm::sys::fs::perms Permissions)
std::error_code setPermissions(
const llvm::Twine& Path,
llvm::sys::fs::perms Permissions)
Description
Set file permissions.
Declared at: llvm/include/llvm/Support/FileSystem.h:673
Parameters
- const llvm::Twine& Path
- File to set permissions on.
- llvm::sys::fs::perms Permissions
- New file permissions.
Returns
errc::success if the permissions were successfully set, otherwise a platform-specific error_code.