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

Function getNode

tree-view-sample/src/testView.ts:95–100  ·  view source on GitHub ↗
(key: string)

Source from the content-addressed store, hash-verified

93}
94
95function getNode(key: string): { key: string } {
96 if (!nodes[key]) {
97 nodes[key] = new Key(key);
98 }
99 return nodes[key];
100}
101
102class Key {
103 constructor(readonly key: string) { }

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected