Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/MegEngine/MegEngine
/ gen_version.py
File
gen_version.py
imperative/python/gen_version.py:None–None ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
1
import
argparse
2
import
os
3
import
subprocess
4
Callers
nothing calls this directly
Calls
4
get_git_commit
Function · 0.85
str
Function · 0.85
write
Method · 0.45
format
Method · 0.45
Tested by
no test coverage detected