diff options
author | Alexander Larsson <alexl@redhat.com> | 2016-05-16 10:22:45 +0200 |
---|---|---|
committer | Alexander Larsson <alexl@redhat.com> | 2016-05-16 10:22:45 +0200 |
commit | 7cffe7c1b186031ab242ec153b0920e2ea6d15da (patch) | |
tree | 8bfc62a365659b1b28406aa3ea31863508f16521 | |
parent | 90c909a93283eb072560c69fb28df6f611dea65f (diff) | |
download | xdg-app-7cffe7c1b186031ab242ec153b0920e2ea6d15da.tar.gz |
Actually export flatpak_installation_drop_caches
-rw-r--r-- | lib/flatpak-installation.c | 4 | ||||
-rw-r--r-- | lib/flatpak-installation.h | 3 |
2 files changed, 5 insertions, 2 deletions
diff --git a/lib/flatpak-installation.c b/lib/flatpak-installation.c index a6ead4f..68e31b1 100644 --- a/lib/flatpak-installation.c +++ b/lib/flatpak-installation.c @@ -231,8 +231,8 @@ flatpak_installation_get_dir (FlatpakInstallation *self) * @cancellable: (nullable): a #GCancellable * @error: return location for a #GError * - * Drops all internal (in-memory) caches. For instance, this may be needed to pick up new - * remotes that have been added outside this instance. + * Drops all internal (in-memory) caches. For instance, this may be needed to pick up new or changed + * remotes configured outside this installation instance. * * Returns: %TRUE on success, %FALSE on error */ diff --git a/lib/flatpak-installation.h b/lib/flatpak-installation.h index 4d954fe..796d1e1 100644 --- a/lib/flatpak-installation.h +++ b/lib/flatpak-installation.h @@ -95,6 +95,9 @@ typedef void (*FlatpakProgressCallback)(const char *status, gboolean estimating, gpointer user_data); +FLATPAK_EXTERN gboolean flatpak_installation_drop_caches (FlatpakInstallation *self, + GCancellable *cancellable, + GError **error); FLATPAK_EXTERN gboolean flatpak_installation_get_is_user (FlatpakInstallation *self); FLATPAK_EXTERN GFile *flatpak_installation_get_path (FlatpakInstallation *self); FLATPAK_EXTERN gboolean flatpak_installation_launch (FlatpakInstallation *self, |