Method

GioFileInfohas_namespace

since: 2.22

Declaration

gboolean
g_file_info_has_namespace (
  GFileInfo* info,
  const char* name_space
)

Description

Checks if a file info structure has an attribute in the specified name_space.

Available since: 2.22

Parameters

name_space

Type: const char*

A file attribute namespace.

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

Return value

Type: gboolean

TRUE if info has an attribute in name_space, FALSE otherwise.