lib: Add ostree_sysroot_load_if_changed() API

This will allow daemons like rpm-ostree to detect if there are any new
deployments efficiently, in combination with using inotify.  If there
are any changes, rpm-ostree wants publish them on DBus.

While we're here, add some changes to start doing unit C testing of
the sysroot API.
This commit is contained in:
Colin Walters committed 2016-03-03 21:56:23 -05:00
1 parent ebd0370976
commit fea786cb2d
10 files changed
+179 -24

No files matched your search

+1
View File
@@ -381,6 +381,7 @@ ostree_sysroot_new
ostree_sysroot_new_default
ostree_sysroot_get_path
ostree_sysroot_load
ostree_sysroot_load_if_changed
ostree_sysroot_lock
ostree_sysroot_try_lock
ostree_sysroot_lock_async