Shared permission policy and file access checks. More...
Functions | |
| bool | platf::can_access_directory (const std::filesystem::path &path) |
| Check whether this process can list and create files in a directory. | |
| bool | platf::required_permissions_granted (const std::vector< permission_status_t > &permissions) |
| Determine whether all verifiable required permissions are granted. | |
Shared permission policy and file access checks.
| bool platf::can_access_directory | ( | const std::filesystem::path & | path | ) |
Check whether this process can list and create files in a directory.
| path | Directory to check without modifying its contents. |
| bool platf::required_permissions_granted | ( | const std::vector< permission_status_t > & | permissions | ) |
Determine whether all verifiable required permissions are granted.
| permissions | Current permission status records. |