MCPcopy Create free account
hub / github.com/ecomfe/tempad-dev / buildShellComment

Function buildShellComment

packages/extension/mcp/tools/code/render/index.ts:270–276  ·  view source on GitHub ↗
(lang: string | undefined, omittedNodeIds: string[])

Source from the content-addressed store, hash-verified

268}
269
270function buildShellComment(lang: string | undefined, omittedNodeIds: string[]): string {
271 const content = `omitted direct children: ${omittedNodeIds.join(',')}`
272 if (lang === 'vue') {
273 return `<!-- ${content} -->`
274 }
275 return `{/* ${content} */}`
276}
277
278function resolveSnapshotStyle(
279 snapshot: NodeSnapshot,

Callers 1

renderShellTreeFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected