summaryrefslogtreecommitdiff
path: root/src/libostree/ostree-repo-static-delta-private.h
diff options
context:
space:
mode:
authorColin Walters <walters@verbum.org>2016-01-27 22:02:36 -0500
committerColin Walters <walters@verbum.org>2016-01-28 15:38:09 -0500
commit98d5f6e3db376ca0a7ab5f505474a0105bee19a7 (patch)
treecbe691402f9ed47854fdf20045d79ab2272a5e26 /src/libostree/ostree-repo-static-delta-private.h
parent944b3abab1cff15f676800bd52a990bbb2914515 (diff)
downloadostree-98d5f6e3db376ca0a7ab5f505474a0105bee19a7.tar.gz
static-delta: Add `show` subcommand
Right now though, almost all of the details of deltas are private, so we can't do the "honest thing" and have the command line just use the shared library. Eventually some of this should appear in the API, but for now add command line which is useful for debugging.
Diffstat (limited to 'src/libostree/ostree-repo-static-delta-private.h')
-rw-r--r--src/libostree/ostree-repo-static-delta-private.h11
1 files changed, 11 insertions, 0 deletions
diff --git a/src/libostree/ostree-repo-static-delta-private.h b/src/libostree/ostree-repo-static-delta-private.h
index de32ec65..b0e82ade 100644
--- a/src/libostree/ostree-repo-static-delta-private.h
+++ b/src/libostree/ostree-repo-static-delta-private.h
@@ -103,6 +103,11 @@ G_BEGIN_DECLS
*/
#define OSTREE_STATIC_DELTA_SUPERBLOCK_FORMAT "(a{sv}tayay" OSTREE_COMMIT_GVARIANT_STRING "aya" OSTREE_STATIC_DELTA_META_ENTRY_FORMAT "a" OSTREE_STATIC_DELTA_FALLBACK_FORMAT ")"
+gboolean _ostree_static_delta_dump (OstreeRepo *repo,
+ const char *delta_id,
+ GCancellable *cancellable,
+ GError **error);
+
gboolean _ostree_static_delta_part_validate (OstreeRepo *repo,
GInputStream *in,
guint part_offset,
@@ -177,4 +182,10 @@ _ostree_delta_compute_similar_objects (OstreeRepo *repo,
GCancellable *cancellable,
GError **error);
+gboolean
+_ostree_repo_static_delta_dump (OstreeRepo *repo,
+ const char *delta_id,
+ GCancellable *cancellable,
+ GError **error);
+
G_END_DECLS