Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/alinlab/SelfPatch
/ _run
Function
_run
utils.py:386–387 ·
view source on GitHub ↗
(command)
Source
from the content-addressed store, hash-verified
384
cwd = os.path.dirname(os.path.abspath(__file__))
385
386
def
_run(command):
387
return
subprocess.check_output(command, cwd=cwd).decode(
'ascii'
).strip()
388
sha =
'N/A'
389
diff =
"clean"
390
branch =
'N/A'
Callers
1
get_sha
Function · 0.85
Calls
no outgoing calls
Tested by
no test coverage detected