Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/belak/gitdir
/ sanitize
Function
sanitize
utils.go:83–86 ·
view source on GitHub ↗
(in string)
Source
from the content-addressed store, hash-verified
81
}
82
83
func
sanitize(in string) string {
84
// TODO: this should do more
85
return
strings.ToLower(in)
86
}
87
88
// TODO: see if this can be cleaned up.
89
func
runCommand(
//nolint:funlen
Callers
2
TestSanitize
Function · 0.85
cmdRepoAction
Method · 0.85
Calls
no outgoing calls
Tested by
1
TestSanitize
Function · 0.68