FazBrowse GitHub Viewer
|
Trending
|
URL:
|
Home
Tools:
[Download Repo ZIP]
[View Raw Code]
[Original HTTPS Page]
git2cpp/src/wrapper/refs_wrapper.cpp at 0.0.3 · 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
/
refs_wrapper.cpp
Copy path
More file actions
More file actions
Latest commit
History
History
History
23 lines (19 loc) · 458 Bytes
Breadcrumbs
git2cpp
/
src
/
wrapper
/
refs_wrapper.cpp
Copy path
File metadata and controls
23 lines (19 loc) · 458 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
#
include
"
../utils/git_exception.hpp
"
#
include
"
../wrapper/refs_wrapper.hpp
"
reference_wrapper::reference_wrapper
(git_reference* ref)
: base_type(ref)
{
}
reference_wrapper::~reference_wrapper
()
{
git_reference_free
(p_resource);
p_resource=
nullptr
;
}
std::string
reference_wrapper::short_name
()
const
{
return
git_reference_shorthand
(p_resource);
}
bool
reference_wrapper::is_remote
()
const
{
return
git_reference_is_remote
(*
this
);
}
Back
|
FazBrowse Home
|
New Git URL