MCPcopy Create free account
hub / github.com/APIParkLab/APIPark / ModelNameValid

Function ModelNameValid

common/regexp.go:138–140  ·  view source on GitHub ↗

ModelNameValid check model name is valid

(param string)

Source from the content-addressed store, hash-verified

136
137// ModelNameValid check model name is valid
138func ModelNameValid(param string) bool {
139 return modelNameRegexp.MatchString(param)
140}

Callers 3

UpdateProviderModelMethod · 0.92
AddProviderModelMethod · 0.92
AddProviderMethod · 0.92

Calls

no outgoing calls

Tested by

no test coverage detected