Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
hub
/
github.com/grafana/tempo
/ cleanFileName
Function
cleanFileName
tools/chloggen/cmd/new.go:76–79 ·
view source on GitHub ↗
(filename string)
Source
from the content-addressed store, hash-verified
74
}
75
76
func
cleanFileName(filename string) string {
77
replace := strings.NewReplacer(
"/"
,
"_"
,
"\\"
,
"_"
)
78
return
replace.Replace(filename)
79
}
Callers
2
newCmd
Function · 0.85
TestCleanFilename
Function · 0.85
Calls
no outgoing calls
Tested by
1
TestCleanFilename
Function · 0.68