MCPcopy
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
188func SanitizeProjectName(name string) string {
189 name = filepath.Base(name)
190 return strings.Replace(name, " ", "-", -1)
191}

Callers 2

transformRemoteArgsFunction · 0.92
createFunction · 0.92

Calls 1

ReplaceMethod · 0.80

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…