### Virtual Method

# AppStreamCompose Unit dir_exists

#### Declaration [src]

    gboolean
    dir_exists (
      AscUnit* unit,
      const gchar* dirname
    )

#### Description [src]

Returns `TRUE` if the directory exists and files in it are readable.

#### Parameters

`dirname`

  Type: `const gchar*`

  The directory name to check.

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

#### Return value

Type: `gboolean`

No description available.