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

Function repeatDetail

graph-ui/src/app/ui-log.ts:134–137  ·  view source on GitHub ↗
(count: number, detail?: string)

Source from the content-addressed store, hash-verified

132 * entry follows on the next line, so the count stays beside its own entry.
133 */
134export function repeatDetail(count: number, detail?: string): string {
135 const words = `${count} identical entries in this session; only the first is recorded in full`;
136 return detail ? capField(`${words}\n${detail}`) : words;
137}
138
139/** The count of a repeat entry, undefined for an ordinary one. */
140export function repeatCount(detail: string | undefined): number | undefined {

Callers 2

reportMethod · 0.85

Calls 1

capFieldFunction · 0.85

Tested by

no test coverage detected