FwupdPlugin.path_fnmatch
Description: Reference for FwupdPlugin.path_fnmatch

### Function

# FwupdPluginpath_fnmatch

#### Declaration [src]

    gboolean
    fu_path_fnmatch (
      const gchar* pattern,
      const gchar* str
    )

#### Description [src]

Matches a string against a glob pattern.

Available since: | 1.8.2

#### Parameters

`pattern` | `const gchar*`
| A glob pattern, e.g. `*foo*`
| The data is owned by the caller of the function.
| The value is a NUL terminated UTF-8 string.
`str` | `const gchar*`
| A string to match against the pattern, e.g. `bazfoobar`
| 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 the string matched.