FwupdPlugin.Archive.compression_from_string
Description: Reference for FwupdPlugin.Archive.compression_from_string

### Function

# FwupdPlugin Archivecompression_from_string

since: 1.8.1

#### Declaration [src]

    FuArchiveCompression
    fu_archive_compression_from_string (
      const gchar* compression
    )

#### Description [src]

Converts a string to an enumerated compression.

Available since: 1.8.1

#### Parameters

`compression`

  Type: `const gchar*`

  A string, e.g. `zip`

  The argument can be `NULL`.
  The data is owned by the caller of the function.
  The value is a NUL terminated UTF-8 string.

#### Return value

Type: `FuArchiveCompression`

Enumerated value.