MCPcopy Create free account
hub / github.com/DeusData/codebase-memory-mcp / pagingNoteFor

Function pagingNoteFor

graph-ui/src/reader/file-source.ts:142–147  ·  view source on GitHub ↗
(lastLine: number, fileLastLine: number | undefined)

Source from the content-addressed store, hash-verified

140
141/** The note when the server pages source and a page did not arrive. */
142export function pagingNoteFor(lastLine: number, fileLastLine: number | undefined): string {
143 if (fileLastLine === undefined) {
144 return `lines after ${lastLine} not loaded: a further page of source did not arrive from the server (get_code_snippet).`;
145 }
146 return `lines ${lastLine + 1}-${fileLastLine} not loaded: a further page of source did not arrive from the server (get_code_snippet).`;
147}
148
149/**
150 * Der Satz unter dem Quelltext, wenn nicht die ganze Datei angekommen ist.

Callers 1

loadFileDocumentFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected