MCPcopy Create free account
hub / github.com/Marus/cortex-debug / getRoot

Method getRoot

src/frontend/cortex_debug_session.ts:30–32  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

28 }
29
30 public getRoot() {
31 return this.parent && this.parent.parent ? this.parent.getRoot() : this;
32 }
33
34 public hasChildren(): boolean {
35 return this.children.length > 0;

Callers 1

broadcastDFSMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected