MCPcopy Create free account
hub / github.com/colbymchenry/codegraph / ingestEventForTests

Method ingestEventForTests

src/sync/watcher.ts:755–757  ·  view source on GitHub ↗

* @internal Test-only: feed a synthetic project-relative change through the * same filter → pendingFiles → debounced-sync path a real fs.watch event * takes. Lets the watcher / staleness-banner suites stay deterministic * instead of racing on OS watch-delivery latency. See * {@link __emi

(relPath: string)

Source from the content-addressed store, hash-verified

753 * {@link __emitWatchEventForTests}.
754 */
755 ingestEventForTests(relPath: string): void {
756 this.handleChange(normalizePath(relPath));
757 }
758
759 /**
760 * Whether the watcher is currently active.

Callers 1

__emitWatchEventForTestsFunction · 0.80

Calls 2

handleChangeMethod · 0.95
normalizePathFunction · 0.90

Tested by

no test coverage detected