MCPcopy Create free account
hub / github.com/compiler-explorer/compiler-explorer / removeTree

Method removeTree

static/hub.ts:309–311  ·  view source on GitHub ↗
(id: number)

Source from the content-addressed store, hash-verified

307 }
308
309 public removeTree(id: number) {
310 this.trees = this.trees.filter(t => t.id !== id);
311 }
312
313 public hasTree(): boolean {
314 return this.trees.length > 0;

Callers 1

closeMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected