Method

AppStreamComposeUnitfile_exists

Declaration [src]

gboolean
asc_unit_file_exists (
  AscUnit* unit,
  const gchar* filename
)

Description [src]

Returns TRUE if the filename exists and is readable using %asc_unit_read_data.

Parameters

filename const gchar*
 

The filename to check.

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

Return value

Returns: gboolean
  No description available.