MCPcopy 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
198func ToPtr[T any](arg T) *T {
199 return &arg
200}
201
202func 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