MCPcopy Create free account
hub / github.com/colbymchenry/codegraph / notIndexedError

Function notIndexedError

src/ui-server/api/source.ts:127–134  ·  view source on GitHub ↗
(file: string)

Source from the content-addressed store, hash-verified

125}
126
127export function notIndexedError(file: string): ApiError {
128 return notFound(
129 `${file} is not in this CodeGraph index.`,
130 'The viewer only reads files the index knows about. If the file is new, ' +
131 'it appears after the next sync; if it is excluded (gitignored, generated, ' +
132 'or too large to parse), it will not appear at all.'
133 );
134}
135
136/**
137 * Split source the way the index counted it.

Callers 1

resolveRequestedFileFunction · 0.85

Calls 1

notFoundFunction · 0.90

Tested by

no test coverage detected