repo: Add _ostree_repo_remote_new_fetcher()
Creates and configures an OstreeFetcher instance for a given remote. Split out from ostree_repo_pull_with_options().
This commit is contained in:
1 parent
6e3cb828b6
commit
b02777accd
3 files changed
+109
-75
No files matched your search
@@ -21,6 +21,7 @@
|
||||
#pragma once
|
||||
|
||||
#include "ostree-repo.h"
|
||||
#include "ostree-fetcher.h"
|
||||
|
||||
G_BEGIN_DECLS
|
||||
|
||||
@@ -195,6 +196,11 @@ _ostree_repo_get_remote_boolean_option (OstreeRepo *self,
|
||||
gboolean *out_value,
|
||||
GError **error);
|
||||
|
||||
OstreeFetcher *
|
||||
_ostree_repo_remote_new_fetcher (OstreeRepo *self,
|
||||
const char *remote_name,
|
||||
GError **error);
|
||||
|
||||
OstreeGpgVerifyResult *
|
||||
_ostree_repo_gpg_verify_with_metadata (OstreeRepo *self,
|
||||
GBytes *signed_data,
|
||||
|
||||
Reference in new issue
Block a user