Method

FwupdPluginArchiveadd_entry

Declaration [src]

void
fu_archive_add_entry (
  FuArchive* self,
  const gchar* fn,
  GBytes* blob
)

Description [src]

Adds, or replaces an entry to an archive.

Available since:1.8.1

Parameters

fn const gchar*
 

A filename.

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

A GBytes.

 The data is owned by the caller of the function.