MCPcopy Index your code
hub / github.com/coder/mux / recordFileState

Method recordFileState

src/node/services/agentSession.ts:5508–5510  ·  view source on GitHub ↗

* Record file state for change detection. * Called by tools (e.g., propose_plan) after reading/writing files.

(filePath: string, state: FileState)

Source from the content-addressed store, hash-verified

5506 * Called by tools (e.g., propose_plan) after reading/writing files.
5507 */
5508 async recordFileState(filePath: string, state: FileState): Promise<void> {
5509 await this.fileChangeTracker.record(filePath, state);
5510 }
5511
5512 /** Get the count of tracked files for UI display. */
5513 getTrackedFilesCount(): number {

Calls 1

recordMethod · 0.80

Tested by

no test coverage detected