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

Function freshnessText

graph-ui/src/diagnostics/diagnostics-model.ts:33–40  ·  view source on GitHub ↗
(freshness: string)

Source from the content-addressed store, hash-verified

31}
32
33export function freshnessText(freshness: string): string {
34 if (freshness === 'metadata_match') return 'File size and modification time match the index record. This is not a content-hash guarantee.';
35 if (freshness === 'metadata_changed') return 'File size or modification time changed since indexing. Read the current source and reindex.';
36 if (freshness === 'not_tracked') return 'No indexed file metadata exists for this path. It may be unindexed; pending work is not confirmed.';
37 if (freshness === 'missing') return 'The requested file is missing on disk.';
38 if (freshness === 'outside_project') return 'This path is outside the selected project.';
39 return 'Freshness is unavailable. Missing evidence is not a clean result.';
40}
41
42export interface LocalDiagnosis {
43 project: string;

Callers 3

DiagnosticsPanelFunction · 0.90
localDiagnosticReportFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected