FazBrowse GitHub Viewer
|
Trending
|
URL:
|
Home
Tools:
[Download Repo ZIP]
[View Raw Code]
[Original HTTPS Page]
git2cpp/src/subcommand/stash_subcommand.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
/
subcommand
/
stash_subcommand.hpp
Copy path
More file actions
More file actions
Latest commit
History
History
History
30 lines (23 loc) · 625 Bytes
Breadcrumbs
git2cpp
/
src
/
subcommand
/
stash_subcommand.hpp
Copy path
File metadata and controls
30 lines (23 loc) · 625 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
#
pragma
once
#
include
<
CLI/CLI.hpp
>
#
include
"
../utils/common.hpp
"
#
include
"
../wrapper/repository_wrapper.hpp
"
class
stash_subcommand
{
public:
explicit
stash_subcommand
(
const
libgit2_object&,
CLI
::App& app);
git_oid
resolve_stash_commit
(repository_wrapper& repo);
void
run_push
();
void
run_list
();
void
run_pop
();
void
run_apply
();
void
run_show
();
private:
std::vector<std::string> m_options;
std::string m_message =
"
"
;
size_t
m_index =
0
;
bool
m_stat_flag =
false
;
bool
m_shortstat_flag =
false
;
bool
m_numstat_flag =
false
;
bool
m_summary_flag =
false
;
};
Back
|
FazBrowse Home
|
New Git URL