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.
This commit is contained in:
Colin Walters committed 2016-01-28 15:38:09 -05:00
1 parent 944b3abab1
commit 98d5f6e3db
7 files changed
+172 -1

No files matched your search

+3 -1
View File
@@ -23,6 +23,7 @@
#include "ostree-cmdprivate.h"
#include "ostree-repo-private.h"
#include "ostree-core-private.h"
#include "ostree-repo-static-delta-private.h"
#include "ostree-sysroot.h"
#include "ostree-bootloader-grub2.h"
@@ -44,7 +45,8 @@ const OstreeCmdPrivateVTable *
ostree_cmd__private__ (void)
{
static OstreeCmdPrivateVTable table = {
impl_ostree_generate_grub2_config
impl_ostree_generate_grub2_config,
_ostree_repo_static_delta_dump
};
return &table;