FazBrowse GitHub Viewer
|
Trending
|
URL:
|
Home
Tools:
[Download Repo ZIP]
[View Raw Code]
[Original HTTPS Page]
git2cpp/src/wrapper/remote_wrapper.hpp at main · QuantStack/git2cpp · GitHub
QuantStack
git2cpp
Repository navigation
Code
Issues
6
(6)
Pull requests
Actions
Projects
Security and quality
Insights
Expand file tree
Breadcrumbs
git2cpp
/
src
/
wrapper
/
remote_wrapper.hpp
Copy path
More file actions
More file actions
Latest commit
History
History
History
35 lines (22 loc) · 799 Bytes
Breadcrumbs
git2cpp
/
src
/
wrapper
/
remote_wrapper.hpp
Copy path
File metadata and controls
35 lines (22 loc) · 799 Bytes
Raw
Copy raw file
Download raw file
Open symbols panel
Edit and raw actions
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
#
pragma
once
#
include
<
string_view
>
#
include
<
vector
>
#
include
<
git2.h
>
#
include
"
../wrapper/wrapper_base.hpp
"
class
remote_wrapper
:
public
wrapper_base
<git_remote>
{
public:
using
base_type = wrapper_base<git_remote>;
~remote_wrapper
();
remote_wrapper
(remote_wrapper&&) =
default
;
remote_wrapper&
operator
=(remote_wrapper&&) =
default
;
std::string_view
name
()
const
;
std::string_view
url
()
const
;
std::string_view
pushurl
()
const
;
std::vector<std::string>
refspecs
()
const
;
void
fetch
(
const
git_strarray* refspecs,
const
git_fetch_options* opts,
const
char
* reflog_message);
void
push
(
const
git_strarray* refspecs,
const
git_push_options* opts);
private:
explicit
remote_wrapper
(git_remote* remote);
friend
class
repository_wrapper
;
};
Back
|
FazBrowse Home
|
New Git URL