sysroot: Clean up API

Now that we have a real GObject for the sysroot, we have a convenient
place to keep track of 4 pieces of state:

* The current deployment list
* The current bootversion
* The current subbootversion
* The current booted deployment (if any)

Avoid requiring callers to pass all of this around and load it
piecemeal; instead the new thing is ostree_sysroot_load().
This commit is contained in:
Colin Walters committed 2013-09-16 18:32:13 -04:00
1 parent c07c84cb6f
commit 8f1ea1b50a
14 files changed
+361 -356

No files matched your search

+6 -5
View File
@@ -140,16 +140,17 @@ ostree_sysroot_get_type
ostree_sysroot_new
ostree_sysroot_new_default
ostree_sysroot_get_path
ostree_sysroot_load
ostree_sysroot_ensure_initialized
ostree_sysroot_read_current_subbootversion
ostree_sysroot_list_deployments
ostree_sysroot_get_bootversion
ostree_sysroot_get_subbootversion
ostree_sysroot_get_deployments
ostree_sysroot_get_booted_deployment
ostree_sysroot_get_deployment_directory
ostree_sysroot_get_deployment_origin_path
ostree_sysroot_cleanup
ostree_sysroot_get_repo
ostree_sysroot_find_booted_deployment
ostree_sysroot_require_deployment_or_osname
ostree_sysroot_write_deployments
ostree_sysroot_deploy
ostree_sysroot_deploy_one_tree
ostree_sysroot_get_merge_deployment
</SECTION>