pull: Check the remote repo type
We can only pull from archive repositories right now. This will also be useful for adding compressed archives later.
This commit is contained in:
1 parent
31153913ff
commit
59ddbcc500
3 files changed
+84
-10
No files matched your search
@@ -47,6 +47,10 @@ typedef enum {
|
||||
OSTREE_REPO_MODE_ARCHIVE
|
||||
} OstreeRepoMode;
|
||||
|
||||
gboolean ostree_repo_mode_from_string (const char *mode,
|
||||
OstreeRepoMode *out_mode,
|
||||
GError **error);
|
||||
|
||||
OstreeRepoMode ostree_repo_get_mode (OstreeRepo *self);
|
||||
|
||||
GFile * ostree_repo_get_tmpdir (OstreeRepo *self);
|
||||
|
||||
Reference in new issue
Block a user