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

Method ingestEventForTests

src/sync/watcher.ts:802–804  ·  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

800 * {@link __emitWatchEventForTests}.
801 */
802 ingestEventForTests(relPath: string): void {
803 this.handleChange(normalizePath(relPath));
804 }
805
806 /**
807 * 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