Method

FwupdPluginCabinetadd_file

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 const gchar*
 

Filename.

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

File data.

 The data is owned by the caller of the function.