MCPcopy Index your code
hub / github.com/callstack/agent-device / getDaemonCommandDescriptor

Function getDaemonCommandDescriptor

src/daemon/daemon-command-registry.ts:110–112  ·  view source on GitHub ↗
(command: string)

Source from the content-addressed store, hash-verified

108}
109
110function getDaemonCommandDescriptor(command: string): DaemonCommandDescriptor | undefined {
111 return DAEMON_COMMAND_REGISTRY.descriptorsByCommand.get(command);
112}
113
114function buildDaemonCommandRegistry(descriptors: readonly DaemonCommandDescriptor[]) {
115 const descriptorsByCommand = new Map<string, DaemonCommandDescriptor>();

Calls 1

getMethod · 0.80

Tested by

no test coverage detected