Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
hub
/
github.com/oobabooga/textgen
/ get_current_commit
Function
get_current_commit
one_click.py:165–167 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
163
164
165
def
get_current_commit():
166
result = run_cmd(
"git rev-parse HEAD"
, capture_output=True, environment=True)
167
return
result.stdout.decode(
'utf-8'
).strip()
168
169
170
def
get_extensions_names():
Callers
1
update_requirements
Function · 0.85
Calls
3
run_cmd
Function · 0.85
strip
Method · 0.80
decode
Method · 0.45
Tested by
no test coverage detected