MCPcopy Create free account
hub / github.com/IgorWarzocha/howcode / scheduleShellIndexSync

Function scheduleShellIndexSync

desktop/pi-threads/shell-index.ts:52–58  ·  view source on GitHub ↗
(cwd: string)

Source from the content-addressed store, hash-verified

50}
51
52export 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
60export async function refreshShellIndex(
61 cwd: string,

Callers 1

loadShellStateFunction · 0.90

Calls 1

startShellIndexSyncFunction · 0.85

Tested by

no test coverage detected