summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--lib/flatpak-installation.c4
-rw-r--r--lib/flatpak-installation.h3
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,