MCPcopy Create free account
hub / github.com/APIParkLab/APIPark / find

Method find

frontend/packages/common/src/utils/systemRunning.ts:160–165  ·  view source on GitHub ↗
(node: string)

Source from the content-addressed store, hash-verified

158 }
159
160 find(node: string): string {
161 if (node !== this.parent[node]) {
162 this.parent[node] = this.find(this.parent[node])
163 }
164 return this.parent[node]
165 }
166
167 union(node1: string, node2: string): void {
168 const root1 = this.find(node1)

Callers 15

relativeFormatterFunction · 0.95
unionMethod · 0.95
fetchProvidersFunction · 0.80
AIProviderSelectFunction · 0.80
LoginFunction · 0.80
DataMaskingFunction · 0.80
modelParameterClickFunction · 0.80
transformDataFunction · 0.80
getProviderOptionListFunction · 0.80
modelProviderChangeFunction · 0.80
SystemListFunction · 0.80
getDefaultModelConfigFunction · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected