MCPcopy
hub / github.com/compiler-explorer/compiler-explorer / hasTree

Method hasTree

static/hub.ts:313–315  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

311 }
312
313 public hasTree(): boolean {
314 return this.trees.length > 0;
315 }
316
317 public getTreesWithEditorId(editorId: number) {
318 return this.trees.filter(tree => tree.multifileService.isEditorPartOfProject(editorId));

Callers 4

startFunction · 0.95
setupAddFunction · 0.80
handleCtrlSMethod · 0.80
numberUsedLinesMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected