ΒΆErrorOr<llvm::sys::fs::perms> getPermissions(
const llvm::Twine& Path)
ErrorOr<llvm::sys::fs::perms> getPermissions(
const llvm::Twine& Path)
Description
Get file permissions.
Declared at: llvm/include/llvm/Support/FileSystem.h:688
Parameters
- const llvm::Twine& Path
- File to get permissions from.
Returns
the permissions if they were successfully retrieved, otherwise a platform-specific error_code.