summaryrefslogtreecommitdiff
path: root/src/libostree/ostree-sysroot-upgrader.h
diff options
context:
space:
mode:
authorAnne LoVerso <aelv13@gmail.com>2014-08-05 08:41:50 -0400
committerColin Walters <walters@verbum.org>2014-08-20 15:09:32 -0400
commit3742c329459615eca34fdd374673c76ac648ffba (patch)
tree99862dceb5c40cc9b42573c3403eb2ca88788d48 /src/libostree/ostree-sysroot-upgrader.h
parent6a55d2c32ffcb49de5f4d781315b67dcc885d6f7 (diff)
downloadostree-3742c329459615eca34fdd374673c76ac648ffba.tar.gz
repo-pull: Allow pulling only one directory
Changes the pull API to allow pulling only a single directory instead of the whole deployment. This option is utilized by the check-diff option in rpm-ostree. Add a new state directory to hold <checksum>.commitpartial files, so we know that we've only downloaded partial state.
Diffstat (limited to 'src/libostree/ostree-sysroot-upgrader.h')
-rw-r--r--src/libostree/ostree-sysroot-upgrader.h9
1 files changed, 9 insertions, 0 deletions
diff --git a/src/libostree/ostree-sysroot-upgrader.h b/src/libostree/ostree-sysroot-upgrader.h
index a4e6b77a..cf601248 100644
--- a/src/libostree/ostree-sysroot-upgrader.h
+++ b/src/libostree/ostree-sysroot-upgrader.h
@@ -65,6 +65,15 @@ gboolean ostree_sysroot_upgrader_pull (OstreeSysrootUpgrader *self,
GCancellable *cancellable,
GError **error);
+gboolean ostree_sysroot_upgrader_pull_one_dir (OstreeSysrootUpgrader *self,
+ const char *dir_to_pull,
+ OstreeRepoPullFlags flags,
+ OstreeSysrootUpgraderPullFlags upgrader_flags,
+ OstreeAsyncProgress *progress,
+ gboolean *out_changed,
+ GCancellable *cancellable,
+ GError **error);
+
gboolean ostree_sysroot_upgrader_deploy (OstreeSysrootUpgrader *self,
GCancellable *cancellable,
GError **error);