repo: Rename ostree_repo_check to ostree_repo_open
As it more clearly describes what the function does: load the repo from disk and initialize it. At the same time, add a cancellable parameter. https://bugzilla.gnome.org/show_bug.cgi?id=707582
This commit is contained in:
1 parent
57d285f619
commit
02adfc8c03
6 files changed
+15
-11
No files matched your search
@@ -56,7 +56,9 @@ OstreeRepo* ostree_repo_new (GFile *path);
|
||||
|
||||
OstreeRepo* ostree_repo_new_default (void);
|
||||
|
||||
gboolean ostree_repo_check (OstreeRepo *self, GError **error);
|
||||
gboolean ostree_repo_open (OstreeRepo *self,
|
||||
GCancellable *cancellable,
|
||||
GError **error);
|
||||
|
||||
gboolean ostree_repo_create (OstreeRepo *self,
|
||||
OstreeRepoMode mode,
|
||||
|
||||
Reference in new issue
Block a user