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

Method getPendingFiles

src/index.ts:1058–1060  ·  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

1056 * absorb that file.
1057 */
1058 getPendingFiles(): PendingFile[] {
1059 return this.watcher?.getPendingFiles() ?? [];
1060 }
1061
1062 /**
1063 * Resolves once the file watcher has installed its watch set. Useful for

Callers 2

watcher.test.tsFile · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected