Method

FoundryAcpPermissionPolicycontains_path

unstable since: 1.2

Declaration [src]

gboolean
foundry_acp_permission_policy_contains_path (
  FoundryAcpPermissionPolicy* self,
  const char* path
)

Description [src]

Checks if path is contained by the policy project directory. Relative paths are resolved below the project directory when one is configured.

Available since: 1.2

Parameters

path

Type: const char*

A local path from a permission request.

The data is owned by the caller of the method.
The value is a NUL terminated UTF-8 string.

Return value

Type: gboolean

TRUE if path is contained by the project directory.