MCPcopy
hub / github.com/forloopcodes/contextplus / pruneSymbols

Function pruneSymbols

src/tools/context-tree.ts:96–99  ·  view source on GitHub ↗
(node: TreeNode)

Source from the content-addressed store, hash-verified

94}
95
96function pruneSymbols(node: TreeNode): void {
97 node.symbols = undefined;
98 for (const child of node.children) pruneSymbols(child);
99}
100
101function pruneHeaders(node: TreeNode): void {
102 node.header = undefined;

Callers 1

getContextTreeFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected