MCPcopy Index your code
hub / github.com/APIParkLab/APIPark / ListByGroup

Method ListByGroup

module/dynamic-module/driver/manager.go:42–47  ·  view source on GitHub ↗
(group string)

Source from the content-addressed store, hash-verified

40}
41
42func (m *Manager) ListByGroup(group string) []IDriver {
43 if drivers, ok := m.driversByGroup.Get(group); ok {
44 return drivers.List()
45 }
46 return nil
47}
48
49func (m *Manager) Drivers() []string {
50 return m.drivers.Keys()

Callers 1

ListFunction · 0.80

Calls 2

GetMethod · 0.65
ListMethod · 0.65

Tested by

no test coverage detected