(private readonly queries: QueryBuilder)
| 505 | readonly settled: boolean; |
| 506 | |
| 507 | constructor(private readonly queries: QueryBuilder) { |
| 508 | const state = queries.getMetadata('index_state'); |
| 509 | this.settled = state !== 'indexing' && state !== 'failed' && queries.getUnresolvedReferencesCount() === 0; |
| 510 | } |
| 511 | |
| 512 | /** Call with each file a sync is about to change or remove, while its rows are there to read. */ |
| 513 | before(file: string): void { |
nothing calls this directly
no test coverage detected