MCPcopy Create free account
hub / github.com/Snapchat/dagger-browser / getModule

Method getModule

browser/src/models/GraphManager.tsx:124–133  ·  view source on GitHub ↗
(component: string, moduleName: string)

Source from the content-addressed store, hash-verified

122 }
123
124 getModule(component: string, moduleName: string): Module {
125 const nodes = Object.values(this.nodeMap[component]).filter((node: Node) => {
126 return node.module === moduleName;
127 });
128
129 return {
130 key: moduleName,
131 bindings: nodes
132 };
133 }
134
135 getScope(component: string, scope: string): Scope {
136 const nodes = Object.values(this.nodeMap[component]).filter((node: Node) => {

Callers 1

ModuleSummaryFunction · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected