FazBrowse GitHub Viewer
|
Trending
|
URL:
|
Home
Tools:
[Download Repo ZIP]
[View Raw Code]
[Original HTTPS Page]
git-sim/src/git_sim/status.py at dev · initialcommit-com/git-sim · GitHub
Uh oh!
There was an error while loading.
Please reload this page
.
initialcommit-com
/
git-sim
Public
Uh oh!
There was an error while loading.
Please reload this page
.
Notifications
You must be signed in to change notification settings
Fork
122
Star
4.7k
Code
Issues
6
Pull requests
2
Discussions
Actions
Projects
Security and quality
0
Insights
Additional navigation options
Code
Issues
Pull requests
Discussions
Actions
Projects
Security and quality
Insights
Expand file tree
Breadcrumbs
git-sim
/
src
/
git_sim
/
status.py
Copy path
More file actions
More file actions
Latest commit
History
History
History
27 lines (24 loc) · 874 Bytes
Breadcrumbs
git-sim
/
src
/
git_sim
/
status.py
Copy path
File metadata and controls
27 lines (24 loc) · 874 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
from
git_sim
.
git_sim_base_command
import
GitSimBaseCommand
from
git_sim
.
settings
import
settings
class
Status
(
GitSimBaseCommand
):
def
__init__
(
self
):
super
().
__init__
()
try
:
self
.
selected_branches
.
append
(
self
.
repo
.
active_branch
.
name
)
except
TypeError
:
pass
settings
.
hide_merged_branches
=
True
self
.
n
=
self
.
n_default
self
.
cmd
+=
f"
{
type
(
self
).
__name__
.
lower
()
}
"
def
construct
(
self
):
if
not
settings
.
stdout
and
not
settings
.
output_only_path
and
not
settings
.
quiet
:
print
(
f"
{
settings
.
INFO_STRING
}
{
self
.
cmd
}
"
)
self
.
show_intro
()
self
.
parse_commits
()
self
.
recenter_frame
()
self
.
scale_frame
()
self
.
vsplit_frame
()
self
.
setup_and_draw_zones
()
self
.
show_command_as_title
()
self
.
fadeout
()
self
.
show_outro
()
Back
|
FazBrowse Home
|
New Git URL