MCPcopy Index your code
hub / github.com/codeaashu/claude-code / formatPastedTextRef

Function formatPastedTextRef

src/history.ts:51–56  ·  view source on GitHub ↗
(id: number, numLines: number)

Source from the content-addressed store, hash-verified

49}
50
51export function formatPastedTextRef(id: number, numLines: number): string {
52 if (numLines === 0) {
53 return `[Pasted text #${id}]`
54 }
55 return `[Pasted text #${id} +${numLines} lines]`
56}
57
58export function formatImageRef(id: number): string {
59 return `[Image #${id}]`

Callers 2

onTextPasteFunction · 0.85
recollapsePastedContentFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected