MCPcopy Create free account
hub / github.com/53AI/53AIHub / MCPHashIDsToInt64

Function MCPHashIDsToInt64

api/controller/mcp_input.go:58–68  ·  view source on GitHub ↗
(ids []MCPHashID)

Source from the content-addressed store, hash-verified

56}
57
58func MCPHashIDsToInt64(ids []MCPHashID) []int64 {
59 if len(ids) == 0 {
60 return []int64{}
61 }
62
63 result := make([]int64, len(ids))
64 for i, id := range ids {
65 result[i] = id.Int64()
66 }
67 return result
68}

Callers 1

registerMCPFileToolsFunction · 0.85

Calls 1

Int64Method · 0.45

Tested by

no test coverage detected