MCPcopy
hub / github.com/the-open-agent/openagent / GetId

Function GetId

util/string.go:164–170  ·  view source on GitHub ↗
(owner, name string)

Source from the content-addressed store, hash-verified

162}
163
164func GetId(owner, name string) string {
165 if strings.Contains(name, "/") {
166 return name
167 }
168
169 return fmt.Sprintf("%s/%s", owner, name)
170}
171
172// SnakeString transform XxYy to xx_yy
173func SnakeString(s string) string {

Callers 12

ensureMessageMutableMethod · 0.92
AddMessageMethod · 0.92
GetFormDataMethod · 0.92
generateMessageAnswerFunction · 0.92
GetAnswerMethod · 0.92
deleteExistingStoreFunction · 0.92
SendEmailMethod · 0.92
SendErrorEmailMethod · 0.92
TestUpdateMessagePricesFunction · 0.92
PopulateMessagesReadOnlyFunction · 0.92
AddTransactionForMessageFunction · 0.92

Calls

no outgoing calls

Tested by 1

TestUpdateMessagePricesFunction · 0.74