(cwd: string)
| 50 | } |
| 51 | |
| 52 | export function scheduleShellIndexSync(cwd: string) { |
| 53 | if (syncedShellIndexes.has(cwd) || inFlightShellIndexSyncs.has(cwd)) { |
| 54 | return |
| 55 | } |
| 56 | |
| 57 | void startShellIndexSync(cwd, { warningLabel: 'Failed to sync shell index.' }) |
| 58 | } |
| 59 | |
| 60 | export async function refreshShellIndex( |
| 61 | cwd: string, |
no test coverage detected