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

Method shouldSkipWeight

browser/src/models/GraphManager.tsx:226–231  ·  view source on GitHub ↗
(componentName: string, dependencyKey: string)

Source from the content-addressed store, hash-verified

224 }
225
226 private shouldSkipWeight(componentName: string, dependencyKey: string): boolean | undefined {
227 const bindingInComponent = this.getNode(componentName, dependencyKey);
228 return (
229 bindingInComponent && bindingInComponent.kind === "MEMBERS_INJECTION"
230 );
231 }
232
233 private populateCaches() {
234 // Store all nodes under `ALL_COMPONENTS` key for universal search

Callers 1

computeWeightForNodesMethod · 0.95

Calls 1

getNodeMethod · 0.95

Tested by

no test coverage detected