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

Function countedDetail

graph-ui/src/app/ui-log.ts:146–150  ·  view source on GitHub ↗
(detail: string | undefined)

Source from the content-addressed store, hash-verified

144
145/** The detail of the entry a repeat count stands for; an ordinary detail as it is. */
146export function countedDetail(detail: string | undefined): string | undefined {
147 if (repeatCount(detail) === undefined) return detail;
148 const newline = detail!.indexOf('\n');
149 return newline < 0 ? undefined : detail!.slice(newline + 1);
150}
151
152/** Cut a text field at the shared cap and say so. */
153export function capField(text: string, max = UI_LOG_FIELD_MAX): string {

Callers 1

repeatIdentityFunction · 0.90

Calls 1

repeatCountFunction · 0.85

Tested by

no test coverage detected