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

Method getPendingFiles

src/index.ts:2142–2144  ·  view source on GitHub ↗

* Files seen by the file watcher since the last successful sync — * the per-file "stale" signal MCP tools attach to responses so an agent * can fall back to Read for just the affected file without * waiting for a debounced sync to complete (issue #403). * * Returns an empty li

()

Source from the content-addressed store, hash-verified

2140 * absorb that file.
2141 */
2142 getPendingFiles(): PendingFile[] {
2143 return this.watcher?.getPendingFiles() ?? [];
2144 }
2145
2146 /**
2147 * Resolves once the file watcher has installed its watch set. Useful for

Callers 9

pendFunction · 0.45
sync.test.tsFile · 0.45
watcher.test.tsFile · 0.45
untilLiveFunction · 0.45

Calls

no outgoing calls

Tested by 2

pendFunction · 0.36
untilLiveFunction · 0.36