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

Function readIndexStatus

graph-ui/src/provider/rpc-schemas.ts:409–418  ·  view source on GitHub ↗
(value: unknown)

Source from the content-addressed store, hash-verified

407}
408
409export function readIndexStatus(value: unknown): IndexStatusResult {
410 const raw = record(value);
411 return {
412 project: toText(raw['project']),
413 nodes: toOptionalNumber(raw['nodes']),
414 edges: toOptionalNumber(raw['edges']),
415 status: toText(raw['status']),
416 root_path: toText(raw['root_path']),
417 };
418}
419
420export function readCodeSnippet(value: unknown): CodeSnippetResult {
421 const raw = record(value);

Callers 1

indexStatusMethod · 0.90

Calls 3

toTextFunction · 0.85
recordFunction · 0.70
toOptionalNumberFunction · 0.70

Tested by

no test coverage detected