MCPcopy
hub / github.com/colbymchenry/codegraph / ingestEventForTests

Method ingestEventForTests

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

680 * {@link __emitWatchEventForTests}.
681 */
682 ingestEventForTests(relPath: string): void {
683 this.handleChange(normalizePath(relPath));
684 }
685
686 /**
687 * 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