MCPcopy Create free account
hub / github.com/tiann/hapi / getMachine

Method getMachine

hub/src/sync/machineCache.ts:25–27  ·  view source on GitHub ↗
(machineId: string)

Source from the content-addressed store, hash-verified

23 }
24
25 getMachine(machineId: string): Machine | undefined {
26 return this.machines.get(machineId)
27 }
28
29 getMachineByNamespace(machineId: string, namespace: string): Machine | undefined {
30 const machine = this.machines.get(machineId)

Callers 1

refreshMachineMethod · 0.45

Calls 1

getMethod · 0.80

Tested by

no test coverage detected