MCPcopy Create free account
hub / github.com/UiPath/uipathcli / getServiceName

Method getServiceName

commandline/definition_provider.go:81–87  ·  view source on GitHub ↗
(name string)

Source from the content-addressed store, hash-verified

79}
80
81func (p DefinitionProvider) getServiceName(name string) string {
82 index := strings.Index(name, ".")
83 if index != -1 {
84 return name[:index]
85 }
86 return name
87}
88
89func (p DefinitionProvider) loadEmptyDefinitions(serviceVersion string) ([]DefinitionData, error) {
90 names, err := p.store.Names(serviceVersion)

Callers 3

LoadMethod · 0.95
mergeMethod · 0.95
loadEmptyDefinitionsMethod · 0.95

Calls 1

IndexMethod · 0.80

Tested by

no test coverage detected