MCPcopy Index your code
hub / github.com/CodebuffAI/codebuff / createTextBlock

Function createTextBlock

cli/src/utils/__tests__/collapse-helpers.test.ts:93–96  ·  view source on GitHub ↗
(content: string)

Source from the content-addressed store, hash-verified

91
92// Helper to create plain text blocks (not collapsible)
93const createTextBlock = (content: string): ContentBlock => ({
94 type: 'text',
95 content,
96})
97
98describe('hasAnyExpandedBlocks', () => {
99 describe('empty and basic cases', () => {

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected