FwupdPlugin.Cabinet.add_file

### Method

# FwupdPlugin Cabinetadd_file

since: 1.6.0

#### Declaration [src]

    void
    fu_cabinet_add_file (
      FuCabinet* self,
      const gchar* basename,
      GBytes* data
    )

#### Description [src]

Adds a file to the silo.

Available since: 1.6.0

#### Parameters

`basename`

  Type: `const gchar*`

  Filename.

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

`data`

  Type: `GBytes`

  File data.

  The data is owned by the caller of the function.