Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
hub
/
github.com/mislav/hub
/ SanitizeProjectName
Function
SanitizeProjectName
github/project.go:188–191 ·
view source on GitHub ↗
(name string)
Source
from the content-addressed store, hash-verified
186
}
187
188
func
SanitizeProjectName(name string) string {
189
name = filepath.Base(name)
190
return
strings.Replace(name,
" "
,
"-"
, -1)
191
}
Callers
2
transformRemoteArgs
Function · 0.92
create
Function · 0.92
Calls
1
Replace
Method · 0.80
Tested by
no test coverage detected
Used in the wild
real call sites across dependent graphs
searching dependent graphs…