MCPcopy Create free account
hub / github.com/microsoft/vscode-extension-samples / ascend

Method ascend

test-provider-sample/src/testTree.ts:45–50  ·  view source on GitHub ↗
(depth: number)

Source from the content-addressed store, hash-verified

43 this.didResolve = true;
44
45 const ascend = (depth: number) => {
46 while (ancestors.length > depth) {
47 const finished = ancestors.pop()!;
48 finished.item.children.replace(finished.children);
49 }
50 };
51
52 parseMarkdown(content, {
53 onTest: (range, a, operator, b, expected) => {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected