MCPcopy Index your code
hub / github.com/Marus/cortex-debug / moveToRoot

Method moveToRoot

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

Source from the content-addressed store, hash-verified

36 }
37
38 public moveToRoot() {
39 if (this.parent) {
40 this.remove();
41 CDebugSession.ROOT.add(this);
42 }
43 }
44
45 public broadcastDFS(cb: (s: CDebugSession) => void, fromRoot: boolean = true) {
46 const root = fromRoot ? this.getRoot() : this;

Callers 1

endChainedConfigsMethod · 0.80

Calls 2

removeMethod · 0.95
addMethod · 0.45

Tested by

no test coverage detected