diff options
author | Matthew Barnes <mbarnes@redhat.com> | 2015-09-09 14:50:14 -0400 |
---|---|---|
committer | Matthew Barnes <mbarnes@redhat.com> | 2015-09-16 09:23:37 -0400 |
commit | b0bd16ec1181cee880810088e481642ae67cf037 (patch) | |
tree | b90c26e95317fad18a7c4d29dd825785f2705600 /src/libostree/ostree-sysroot.h | |
parent | fd6c572c42a061d61fc0367c8097cc0b5590294a (diff) | |
download | ostree-b0bd16ec1181cee880810088e481642ae67cf037.tar.gz |
sysroot: Add ostree_sysroot_prepare_cleanup()
New public function works like ostree_sysroot_cleanup() EXCEPT FOR
pruning the repository.
Under the hood, add _ostree_sysroot_piecemeal_cleanup() which takes
flags to better control what files are cleaned up. Both public cleanup
functions are now wrappers for _ostree_sysroot_piecemeal_cleanup() with
different flags.
Diffstat (limited to 'src/libostree/ostree-sysroot.h')
-rw-r--r-- | src/libostree/ostree-sysroot.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/libostree/ostree-sysroot.h b/src/libostree/ostree-sysroot.h index 2fbc23b3..88cb7592 100644 --- a/src/libostree/ostree-sysroot.h +++ b/src/libostree/ostree-sysroot.h @@ -81,6 +81,10 @@ gboolean ostree_sysroot_cleanup (OstreeSysroot *self, GCancellable *cancellable, GError **error); +gboolean ostree_sysroot_prepare_cleanup (OstreeSysroot *self, + GCancellable *cancellable, + GError **error); + gboolean ostree_sysroot_write_origin_file (OstreeSysroot *sysroot, OstreeDeployment *deployment, GKeyFile *new_origin, |