Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
hub
/
github.com/ChinaGodMan/UserScripts
/ extract_lang_code
Function
extract_lang_code
utils/helper.py:103–107 ·
view source on GitHub ↗
(file)
Source
from the content-addressed store, hash-verified
101
102
# 提取语言代码
103
def
extract_lang_code(file):
104
match = re.match(r
'README_([a-zA-Z\-]+)\.md'
, file)
105
if
match:
106
return
match.group(1)
107
return
None
108
109
110
# 排序脚本元数据
Callers
3
main
Function · 0.90
go_work
Function · 0.90
main
Function · 0.90
Calls
no outgoing calls
Tested by
no test coverage detected