FazBrowse GitHub Viewer
|
Trending
|
URL:
|
Home
Tools:
[Download Repo ZIP]
[View Raw Code]
[Original HTTPS Page]
git2cpp/src/wrapper/index_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
/
index_wrapper.hpp
Copy path
More file actions
More file actions
Latest commit
History
History
History
47 lines (30 loc) · 1021 Bytes
Breadcrumbs
git2cpp
/
src
/
wrapper
/
index_wrapper.hpp
Copy path
File metadata and controls
47 lines (30 loc) · 1021 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
36
37
38
39
40
41
42
43
44
45
46
47
#
pragma
once
#
include
<
string
>
#
include
<
vector
>
#
include
<
git2.h
>
#
include
"
../wrapper/wrapper_base.hpp
"
class
repository_wrapper
;
class
index_wrapper
:
public
wrapper_base
<git_index>
{
public:
~index_wrapper
();
index_wrapper
(index_wrapper&&)
noexcept
=
default
;
index_wrapper&
operator
=(index_wrapper&&)
noexcept
=
default
;
static
index_wrapper
init
(repository_wrapper& rw);
void
write
();
git_oid
write_tree
();
size_t
entry_count
()
const
;
void
add_entry
(
const
std::string& path);
void
add_entries
(std::vector<std::string> patterns);
void
add_all
();
void
remove_entry
(
const
std::string& path);
void
remove_entries
(std::vector<std::string> paths);
void
remove_directories
(std::vector<std::string> paths);
bool
has_conflict
()
const
;
void
output_conflicts
();
void
conflict_cleanup
();
private:
index_wrapper
() =
default
;
void
add_impl
(std::vector<std::string> patterns);
git_index_conflict_iterator*
create_conflict_iterator
();
};
Back
|
FazBrowse Home
|
New Git URL