(viewUUID: string)
| 510 | } |
| 511 | |
| 512 | export function stopFileWatch(viewUUID: string): void { |
| 513 | const entry = viewFileWatches.get(viewUUID); |
| 514 | if (!entry) return; |
| 515 | if (entry.debounce) clearTimeout(entry.debounce); |
| 516 | try { |
| 517 | entry.watcher.close(); |
| 518 | } catch { |
| 519 | /* ignore */ |
| 520 | } |
| 521 | viewFileWatches.delete(viewUUID); |
| 522 | } |
| 523 | |
| 524 | // ============================================================================= |
| 525 | // URL Validation & Normalization |
no test coverage detected
searching dependent graphs…