MCPcopy Create free account
hub / github.com/Zoo-Code-Org/Zoo-Code / getVisibleInstance

Method getVisibleInstance

src/core/webview/ClineProvider.ts:672–674  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

670 }
671
672 public static getVisibleInstance(): ClineProvider | undefined {
673 return findLast(Array.from(this.activeInstances), (instance) => instance.view?.visible === true)
674 }
675
676 public static getAllInstances(): ClineProvider[] {
677 return Array.from(this.activeInstances)

Callers 6

postStateListenerFunction · 0.80
getInstanceMethod · 0.80
extension.spec.tsFile · 0.80
handleUriFunction · 0.80
getVisibleProviderOrLogFunction · 0.80

Calls 2

findLastFunction · 0.90
fromMethod · 0.80

Tested by

no test coverage detected