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

Method clearFileState

src/node/services/agentSession.ts:5523–5525  ·  view source on GitHub ↗

Clear all tracked file state (e.g., on /clear).

()

Source from the content-addressed store, hash-verified

5521
5522 /** Clear all tracked file state (e.g., on /clear). */
5523 clearFileState(): void {
5524 this.fileChangeTracker.clear();
5525 }
5526
5527 /**
5528 * Resolve the memory session context (index snapshot + optional hot block)

Callers 3

truncateHistoryMethod · 0.80
resetContextMethod · 0.80
replaceHistoryMethod · 0.80

Calls 1

clearMethod · 0.45

Tested by

no test coverage detected