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

Method getComponent

browser/src/models/GraphManager.tsx:114–118  ·  view source on GitHub ↗
(componentName: string)

Source from the content-addressed store, hash-verified

112 }
113
114 getComponent(componentName: string): Component {
115 const component = this.componentMap[componentName];
116
117 return component;
118 }
119
120 getNode(component: string | undefined, node: string): Node | undefined {
121 return this.nodeMap[component ? component : ALL_COMPONENTS][node];

Callers 6

getMatchesMethod · 0.95
getDependenciesFunction · 0.80
GraphBrowserFunction · 0.80
ComponentSummaryFunction · 0.80
getWeightMethod · 0.80
getWeightMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected