Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/OpenDriveLab/ReSim
/ _run
Function
_run
SwissArmyTransformer/examples/yolos/util/misc.py:251–252 ·
view source on GitHub ↗
(command)
Source
from the content-addressed store, hash-verified
249
cwd = os.path.dirname(os.path.abspath(__file__))
250
251
def
_run(command):
252
return
subprocess.check_output(command, cwd=cwd).decode(
'ascii'
).strip()
253
sha =
'N/A'
254
diff =
"clean"
255
branch =
'N/A'
Callers
1
get_sha
Function · 0.85
Calls
1
decode
Method · 0.45
Tested by
no test coverage detected