Function
FwupdPlugincommon_filename_glob
Declaration [src]
GPtrArray*
fu_common_filename_glob (
const gchar* directory,
const gchar* pattern,
GError** error
)
Description [src]
Returns all the filenames that match a specific glob pattern.
Any results are sorted. No matching files will set error
.
Available since: | 1.5.0 |
Parameters
directory |
const gchar* |
A directory path. |
|
The data is owned by the caller of the function. | |
The string is a NUL terminated UTF-8 string. | |
pattern |
const gchar* |
A glob pattern, e.g. |
|
The data is owned by the caller of the function. | |
The string is a NUL terminated UTF-8 string. | |
error |
GError ** |
The return location for a GError* , or NULL . |