core: Add _ostree_get_default_sysroot_path()

Returns a GFile for the default system root, which is usually the root
directory unless overridden by the OSTREE_SYSROOT environment variable
(which is mainly intended for testing).
This commit is contained in:
Matthew Barnes committed 2015-07-16 12:48:11 -04:00
1 parent 31d16c9cce
commit f2ddf10d4e
2 files changed
+30

No files matched your search

+3
View File
@@ -143,4 +143,7 @@ GVariant *
_ostree_detached_metadata_append_gpg_sig (GVariant *existing_metadata,
GBytes *signature_bytes);
GFile *
_ostree_get_default_sysroot_path (void);
G_END_DECLS