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

Function readJobStatus

graph-ui/src/projects/projects-model.ts:52–54  ·  view source on GitHub ↗
(value: unknown)

Source from the content-addressed store, hash-verified

50}
51
52function readJobStatus(value: unknown): IndexJobStatus {
53 return value === 'indexing' || value === 'done' || value === 'error' ? value : 'unknown';
54}
55
56/** The job table. Anything that is not an array of records reads as no jobs. */
57export function readIndexJobs(raw: unknown): IndexJob[] {

Callers 1

readIndexJobsFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected