FwupdPlugin.Archive
Description: Reference for FwupdPlugin.Archive

### Class

# FwupdPluginArchive

#### Description [src]

    final class FwupdPlugin.Archive : GObject.Object {
      /* No available fields */
    }

An in-memory archive decompressor.

#### Hierarchy

#### Ancestors

- GObject

#### Constructors

###### fu_archive_new

Parses `data` as an archive and decompresses all files to memory blobs.

Available since: 1.2.2

#### Functions

###### fu_archive_compression_from_string

Converts a string to an enumerated compression.

Available since: 1.8.1

###### fu_archive_compression_to_string

Converts an enumerated compression to a string.

Available since: 1.8.1

###### fu_archive_format_from_string

Converts a string to an enumerated format.

Available since: 1.8.1

###### fu_archive_format_to_string

Converts an enumerated format to a string.

Available since: 1.8.1

#### Instance methods

###### fu_archive_add_entry

Adds, or replaces an entry to an archive.

Available since: 1.8.1

###### fu_archive_iterate

Iterates over the archive contents, calling the given function for each of the files found. If any `callback` returns `FALSE` scanning is aborted.

Available since: 1.3.4

###### fu_archive_lookup_by_fn

Finds the blob referenced by filename.

Available since: 1.2.2

###### fu_archive_write

Writes an archive with specified `format` and `compression`.

Available since: 1.8.1

##### Methods inherited from GObject (43)

Please see GObject for a full list of methods.

#### Signals

##### Signals inherited from GObject (1)

###### GObject.Object::notify

The notify signal is emitted on an object when one of its properties has its value set through g_object_set_property(), g_object_set(), et al.

#### Class structure

    struct FwupdPluginArchiveClass {
      GObjectClass parent_class;

    }

###### Class members

`parent_class` |
    GObjectClass
| No description available.