Method
AppStreamMetadataparse_file
Declaration [src]
gboolean
as_metadata_parse_file (
AsMetadata* metad,
GFile* file,
AsFormatKind format,
GError** error
)
Description [src]
Parses an AppStream upstream metadata file.
If file
does not exist, G_IO_ERROR_NOT_FOUND
will be returned. Other
GIOErrors
and AsMetadataErrors
may be returned as appropriate.
Parameters
file |
GFile |
|
|
The data is owned by the caller of the function. | |
format |
AsFormatKind |
The format the data is in, or |
|
error |
GError ** |
The return location for a GError* , or NULL . |