(path: string)
| 156 | |
| 157 | /** True when a path is CodeAtlas's own state rather than the reader's code. */ |
| 158 | export function isCodeAtlasState(path: string): boolean { |
| 159 | return path === '.codeatlas' || path.startsWith(CODEATLAS_STATE_PREFIX); |
| 160 | } |
| 161 | |
| 162 | /** How many files the route scan opens. A bound on cost, not on correctness. */ |
| 163 | export const MAX_ROUTE_SCAN_FILES = 800; |