Function

AppStreamutils_guess_scope_from_path

Declaration [src]

AsComponentScope
as_utils_guess_scope_from_path (
  const gchar* path
)

Description [src]

Guess the AsComponentScope that applies to a given path.

Available since:0.15.0

Parameters

path const gchar*
 

The filename to test.

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

Return value

Returns: AsComponentScope
 

The AsComponentScope.