MCPcopy Index your code
hub / github.com/mailvelope/mailvelope / getPort

Method getPort

src/controller/sub.controller.js:51–57  ·  view source on GitHub ↗
(...args)

Source from the content-addressed store, hash-verified

49 }
50
51 getPort(...args) {
52 for (const portName in this.ports) {
53 if (args.some(name => portName.includes(name))) {
54 return this.ports[portName];
55 }
56 }
57 }
58
59 removePort(port) {
60 const view = parseViewName(port.name);

Callers 3

hasPortMethod · 0.95
onDecryptMessageInitMethod · 0.80
dialogCancelMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected