(file: string)
| 125 | } |
| 126 | |
| 127 | export 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. |
no test coverage detected