FazBrowse GitHub Viewer
|
Trending
|
URL:
|
Home
Tools:
[Download Repo ZIP]
[View Raw Code]
[Original HTTPS Page]
git2cpp/src/wrapper/annotated_commit_wrapper.hpp at 0.0.12 · 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
/
annotated_commit_wrapper.hpp
Copy path
More file actions
More file actions
Latest commit
History
History
History
32 lines (20 loc) · 770 Bytes
Breadcrumbs
git2cpp
/
src
/
wrapper
/
annotated_commit_wrapper.hpp
Copy path
File metadata and controls
32 lines (20 loc) · 770 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
#
pragma
once
#
include
<
string
>
#
include
<
string_view
>
#
include
<
git2.h
>
#
include
"
../wrapper/wrapper_base.hpp
"
class
annotated_commit_wrapper
:
public
wrapper_base
<git_annotated_commit>
{
public:
using
base_type = wrapper_base<git_annotated_commit>;
~annotated_commit_wrapper
();
annotated_commit_wrapper
(annotated_commit_wrapper&&)
noexcept
=
default
;
annotated_commit_wrapper&
operator
=(annotated_commit_wrapper&&)
noexcept
=
default
;
const
git_oid&
oid
()
const
;
std::string
commit_oid_tostr
()
const
;
std::string_view
reference_name
()
const
;
private:
annotated_commit_wrapper
(git_annotated_commit* commit);
friend
class
repository_wrapper
;
};
using
annotated_commit_list_wrapper = list_wrapper<annotated_commit_wrapper>;
Back
|
FazBrowse Home
|
New Git URL