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:
Colin Walters committed 2012-09-15 12:41:25 -04:00
1 parent 31153913ff
commit 59ddbcc500
3 files changed
+84 -10

No files matched your search

+4
View File
@@ -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);