FwupdPlugin.path_rmtree
Description: Reference for FwupdPlugin.path_rmtree

### Function

# FwupdPluginpath_rmtree

#### Declaration [src]

    gboolean
    fu_path_rmtree (
      const gchar* directory,
      GError** error
    )

#### Description [src]

Recursively removes a directory.

Available since: | 1.8.2

#### Parameters

`directory` | `const gchar*`
| A directory name.
| The data is owned by the caller of the function.
| The value is a NUL terminated UTF-8 string.
`error` | `GError **`
| The return location for a `GError*`, or `NULL`.

#### Return value

Returns: | `gboolean`
| `TRUE` for success, `FALSE` otherwise.