summaryrefslogtreecommitdiff
path: root/src/libostree/ostree-sysroot-private.h
diff options
context:
space:
mode:
authorColin Walters <walters@verbum.org>2013-09-16 22:37:00 -0400
committerColin Walters <walters@verbum.org>2013-10-02 20:18:06 -0400
commit07904c245715f3ae379463b44f28bd5533880170 (patch)
tree738df8faa3c40ccdbbe49313f0ec3e9dca6664aa /src/libostree/ostree-sysroot-private.h
parent650aab7628168e2a08b5342ff274ea62fac40490 (diff)
downloadostree-07904c245715f3ae379463b44f28bd5533880170.tar.gz
sysroot: Support more arbitrary deployment changes
This commit changes the sysroot API so that one can create arbitrary new deployment checkouts, then commit them as one step. This is to enable things like an automatic bisection tool which say create 50 deployments at once, then when done clean them up. This also moves some printfs from the library into src/ostree.
Diffstat (limited to 'src/libostree/ostree-sysroot-private.h')
-rw-r--r--src/libostree/ostree-sysroot-private.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/libostree/ostree-sysroot-private.h b/src/libostree/ostree-sysroot-private.h
index 864d3cd8..ce79fb8e 100644
--- a/src/libostree/ostree-sysroot-private.h
+++ b/src/libostree/ostree-sysroot-private.h
@@ -61,6 +61,12 @@ _ostree_sysroot_parse_deploy_path_name (const char *name,
GError **error);
gboolean
+_ostree_sysroot_list_deployment_dirs_for_os (GFile *osdir,
+ GPtrArray *inout_deployments,
+ GCancellable *cancellable,
+ GError **error);
+
+gboolean
_ostree_sysroot_get_devino (GFile *path,
guint32 *out_device,
guint64 *out_inode,