Method

AppStreamValidatorvalidate_tree

Declaration [src]

gboolean
as_validator_validate_tree (
  AsValidator* validator,
  const gchar* root_dir
)

Description [src]

Validate a full directory tree for issues in AppStream metadata.

Parameters

root_dir const gchar*
 

The root directory of the filesystem tree that should be validated.

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

Return value

Returns: gboolean
 

TRUE if file validated successfully.