MCPcopy
hub / github.com/homebridge/homebridge / getPluginIdentifier

Method getPluginIdentifier

src/pluginManager.ts:169–171  ·  view source on GitHub ↗
(identifier: AccessoryIdentifier | PlatformIdentifier)

Source from the content-addressed store, hash-verified

167 }
168
169 public static getPluginIdentifier(identifier: AccessoryIdentifier | PlatformIdentifier): PluginIdentifier {
170 return identifier.split('.')[0]
171 }
172
173 public async initializeInstalledPlugins(): Promise<void> {
174 log.info('---')

Calls

no outgoing calls

Tested by

no test coverage detected