Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
Index your code
hub
/
github.com/g3n/engine
/ _filePath
Function
_filePath
gui/assets/data.go:349–352 ·
view source on GitHub ↗
(dir, name string)
Source
from the content-addressed store, hash-verified
347
}
348
349
func
_filePath(dir, name string) string {
350
cannonicalName := strings.Replace(name,
"\\"
,
"/"
, -1)
351
return
filepath.Join(append([]string{dir}, strings.Split(cannonicalName,
"/"
)...)...)
352
}
Callers
1
RestoreAsset
Function · 0.85
Calls
1
Split
Method · 0.80
Tested by
no test coverage detected