repo: Add a "sysroot-path" property

Adds ostree_repo_new_for_sysroot_path() to specify a system root path.
OstreeRepo otherwise uses _ostree_get_default_sysroot_path().
This commit is contained in:
Matthew Barnes committed 2015-07-16 12:48:56 -04:00
1 parent 26225cb198
commit 104b8bf6fb
4 files changed
+56 -7

No files matched your search

+3
View File
@@ -44,6 +44,9 @@ GType ostree_repo_get_type (void);
OstreeRepo* ostree_repo_new (GFile *path);
OstreeRepo* ostree_repo_new_for_sysroot_path (GFile *repo_path,
GFile *sysroot_path);
OstreeRepo* ostree_repo_new_default (void);
gboolean ostree_repo_open (OstreeRepo *self,