Method

FlatpakRemoteget_appstream_dir

Declaration [src]

GFile*
flatpak_remote_get_appstream_dir (
  FlatpakRemote* self,
  const char* arch
)

Description [src]

Returns the directory where this remote will store locally cached appstream information for the specified arch.

Parameters

arch

Type: const char*

Which architecture to fetch (default: current architecture).

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

Return value

Type: GFile

A GFile.

The caller of the method takes ownership of the returned data, and is responsible for freeing it.