Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/aboutcode-org/scancode-toolkit
/ clean_underscore_dash
Function
clean_underscore_dash
src/summarycode/classify.py:114–115 ·
view source on GitHub ↗
(filename)
Source
from the content-addressed store, hash-verified
112
113
114
def
clean_underscore_dash(filename):
115
return
filename.replace(
'_'
,
''
).replace(
'-'
,
''
)
116
117
118
def
check_is_community_file(filename):
Callers
1
check_is_community_file
Function · 0.85
Calls
1
replace
Method · 0.45
Tested by
no test coverage detected