AppStreamCompose.Unit.set_contents

### Method

# AppStreamCompose Unitset_contents

since: 0.14.5

#### Declaration [src]

    void
    asc_unit_set_contents (
      AscUnit* unit,
      GPtrArray* contents
    )

#### Description [src]

Set list of files this unit contains.

Available since: 0.14.5

#### Parameters

`contents`

  Type: An array of `utf8`

  A list of files contained by this unit.

  The data is owned by the caller of the method.
  Each element is a NUL terminated UTF-8 string.