Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/LumaAI-API/Luma-API
/ ToPtr
Function
ToPtr
common/utils.go:198–200 ·
view source on GitHub ↗
(arg T)
Source
from the content-addressed store, hash-verified
196
}
197
198
func
ToPtr[T any](arg T) *T {
199
return
&arg
200
}
201
202
func
PathExists(path string) (bool, error) {
203
_, err := os.Stat(path)
Callers
nothing calls this directly
Calls
no outgoing calls
Tested by
no test coverage detected