summaryrefslogtreecommitdiff
path: root/common/flatpak-dir-private.h
diff options
context:
space:
mode:
authorAlexander Larsson <alexl@redhat.com>2020-10-14 15:54:41 +0200
committerAlexander Larsson <alexander.larsson@gmail.com>2020-10-29 15:30:35 +0100
commit096daf91f2b4db0b6fbd6ea17be0b8ace040b83a (patch)
tree646cf926fb6173e033b1490e66d3317cd4e4dd8a /common/flatpak-dir-private.h
parentb09458554543097adcd9d9abe34dbfcdd74b2df5 (diff)
downloadflatpak-096daf91f2b4db0b6fbd6ea17be0b8ace040b83a.tar.gz
summary: Implement a new, more efficient, summary format
This drops the deltas from the summary and uses the per-commit metadata field to add the cache data to avoid the need for the separate xa.cache and xa.sparse-cache indexes. This way we avoid repeating the refs in multiple places. Nothing uses this format yet, but we still pass make check if we enable it.
Diffstat (limited to 'common/flatpak-dir-private.h')
-rw-r--r--common/flatpak-dir-private.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/common/flatpak-dir-private.h b/common/flatpak-dir-private.h
index a4cdf14d..2e84db35 100644
--- a/common/flatpak-dir-private.h
+++ b/common/flatpak-dir-private.h
@@ -119,6 +119,7 @@ typedef struct
{
char *remote_name;
char *collection_id;
+ guint summary_version;
GVariant *summary;
GBytes *summary_bytes;
GBytes *summary_sig_bytes;