Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/MG-RAST/Shock
/ cleanPath
Function
cleanPath
shock-server/conf/conf.go:350–355 ·
view source on GitHub ↗
(p string)
Source
from the content-addressed store, hash-verified
348
}
349
350
func
cleanPath(p string) string {
351
if
p !=
""
{
352
p, _ = filepath.Abs(p)
353
}
354
return
p
355
}
Callers
1
parseConfiguration
Function · 0.85
Calls
no outgoing calls
Tested by
no test coverage detected